The Witness: Fix door shuffle being completely broken

This commit is contained in:
NewSoupVi 2024-07-03 00:34:17 +02:00 committed by GitHub
parent 93617fa546
commit 95110c4787
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class WitnessPlayerLogic:
# Those requirements need to be preserved even in door shuffle.
entity_dependencies_need_to_be_preserved = (
# EPs keep all their entity dependencies
static_witness_logic.ENTITIES_BY_HEX[entity_hex]["entityType"] != "EP"
static_witness_logic.ENTITIES_BY_HEX[entity_hex]["entityType"] == "EP"
# 0x28A0D depends on another entity for *non-power* reasons -> This dependency needs to be preserved,
# except in Expert, where that dependency doesn't exist, but now there *is* a power dependency.
# In the future, it'd be wise to make a distinction between "power dependencies" and other dependencies.