Witness: Fixed settings combination not rolling (see description)

Settings combination:
- EP Shuffle
- disable_non_randomized
- doors: panels or doors: none

An Event Item was being created that is inaccessible. This is fixed now.
(The fix makes sure that player_logic is not trying to create events for the sake of EPs that are disabled)

Note: These two sets should probably be merged anyway, they used to behave differenty but no longer really do. But that will require some extra care on the client side as well.
This commit is contained in:
NewSoupVi 2023-03-06 16:23:13 +01:00 committed by black-sliver
parent 5b64c5f934
commit 016157a0eb
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class WitnessPlayerLogic:
Panels outside of the same region will still be checked manually. Panels outside of the same region will still be checked manually.
""" """
if panel_hex in self.COMPLETELY_DISABLED_CHECKS: if panel_hex in self.COMPLETELY_DISABLED_CHECKS or panel_hex in self.PRECOMPLETED_LOCATIONS:
return frozenset() return frozenset()
check_obj = self.REFERENCE_LOGIC.CHECKS_BY_HEX[panel_hex] check_obj = self.REFERENCE_LOGIC.CHECKS_BY_HEX[panel_hex]