fix: vanilla key logic adjustment (dropshuffle must be none for reduction)

This commit is contained in:
aerinon
2024-01-02 18:14:31 -07:00
committed by codemann8
parent 108b67cbcf
commit 6edc295951

View File

@@ -262,7 +262,7 @@ def vanilla_key_logic(world, player):
world.key_layout[player][builder.name] = key_layout world.key_layout[player][builder.name] = key_layout
log_key_logic(builder.name, key_layout.key_logic) log_key_logic(builder.name, key_layout.key_logic)
# special adjustments for vanilla # special adjustments for vanilla
if world.mode[player] != 'standard': if world.mode[player] != 'standard' and world.dropshuffle[player] == 'none':
# adjust hc doors # adjust hc doors
def adjust_hc_door(door_rule): def adjust_hc_door(door_rule):
if door_rule.new_rules[KeyRuleType.WorstCase] == 3: if door_rule.new_rules[KeyRuleType.WorstCase] == 3: