From 91f829a193b9fd7686bd401bc0704f26bf75dafc Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 29 Sep 2025 10:37:11 -0400 Subject: Don't create a location for your ending --- apworld/player_logic.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/apworld/player_logic.py b/apworld/player_logic.py index 8f2bd59..5be066d 100644 --- a/apworld/player_logic.py +++ b/apworld/player_logic.py @@ -316,12 +316,9 @@ class Lingo2PlayerLogic: AccessRequirements())) for ending in world.static_logic.objects.endings: - # Don't ever create a location for White Ending. Don't even make an event for it if it's not the victory - # condition, since it is necessarily going to be in the postgame. - if ending.name == "WHITE": - if self.world.options.victory_condition != VictoryCondition.option_white_ending: - continue - else: + # Don't create a location for your selected ending, and never create a location for White Ending. + if world.options.victory_condition.current_key.removesuffix("_ending").upper() != ending.name\ + and ending.name != "WHITE": self.locations_by_room.setdefault(ending.room_id, []).append(PlayerLocation(ending.ap_id, AccessRequirements())) -- cgit 1.4.1