Total keys fix for key logic

(Basic reductions do not affect amount of keys placed while crossed do)
This commit is contained in:
aerinon
2021-08-12 15:59:01 -06:00
parent 6205dc2cb0
commit fd24c016e2
3 changed files with 5 additions and 2 deletions

View File

@@ -1519,7 +1519,7 @@ def create_key_counters(key_layout, world, player):
state.key_locations = default_key_counts[key_layout.sector.name]
else:
builder = world.dungeon_layouts[player][key_layout.sector.name]
state.key_locations = builder.key_doors_num - builder.key_drop_cnt
state.key_locations = builder.total_keys - builder.key_drop_cnt
state.big_key_special = False
for region in key_layout.sector.regions:
for location in region.locations: