The Witness: Logic Fix & Generation Fix (#1204)

* Logic fix

* static object modification instead of copy error fixed

Co-authored-by: metzner <unconfigured@null.spigotmc.org>
This commit is contained in:
NewSoupVi
2022-11-05 05:10:29 +01:00
committed by GitHub
parent 1f3d048462
commit d28738a918
2 changed files with 3 additions and 5 deletions

View File

@@ -242,9 +242,7 @@ class WitnessPlayerLocations:
"""Defines locations AFTER logic changes due to options"""
self.PANEL_TYPES_TO_SHUFFLE = {"General", "Laser"}
self.CHECK_LOCATIONS = (
StaticWitnessLocations.GENERAL_LOCATIONS
)
self.CHECK_LOCATIONS = StaticWitnessLocations.GENERAL_LOCATIONS.copy()
if get_option_value(world, player, "puzzle_randomization") == 1:
self.CHECK_LOCATIONS.remove("Keep Pressure Plates 4")