Witness: Fix missing location

All Pressure Plates puzzles are now always locations.

This makes a line where a Pressure Plates location gets added and a different one cause incorrect behavior.
This commit is contained in:
NewSoupVi 2023-06-21 05:18:54 +02:00 committed by black-sliver
parent 59ad9e97e5
commit f3c788d0cc
1 changed files with 0 additions and 4 deletions

View File

@ -463,10 +463,6 @@ class WitnessPlayerLocations:
self.PANEL_TYPES_TO_SHUFFLE = {"General", "Laser"} self.PANEL_TYPES_TO_SHUFFLE = {"General", "Laser"}
self.CHECK_LOCATIONS = StaticWitnessLocations.GENERAL_LOCATIONS.copy() self.CHECK_LOCATIONS = StaticWitnessLocations.GENERAL_LOCATIONS.copy()
if get_option_value(world, player, "puzzle_randomization") == 1:
self.CHECK_LOCATIONS.remove("Keep Pressure Plates 4")
self.CHECK_LOCATIONS.add("Keep Pressure Plates 2")
doors = get_option_value(world, player, "shuffle_doors") >= 2 doors = get_option_value(world, player, "shuffle_doors") >= 2
earlyutm = is_option_enabled(world, player, "early_secret_area") earlyutm = is_option_enabled(world, player, "early_secret_area")
victory = get_option_value(world, player, "victory_condition") victory = get_option_value(world, player, "victory_condition")