Files
Grinch-AP/worlds/oot
Mysteryem dae3fe188d OOT: Fix incorrect region accessibility after update_reachable_regions() (#3712)
`CollectionState.update_reachable_regions()` un-stales the state for all
players, but when checking `OOTRegion.can_reach()`, it would only update
OOT's age region accessibility when the state was stale, so if the state
was always un-staled by `update_reachable_regions()` immediately before
`OOTRegion.can_reach()`, OOT's age region accessibility would never
update.

This patch fixes the issue by replacing use of CollectionState.stale
with a separate stale state dictionary specific to OOT that is only
un-staled by `_oot_update_age_reachable_regions()`.

OOT's collect() and remove() implementations have been updated to stale
the new OOT-specific state.
2024-09-17 15:11:35 +02:00
..
2022-12-11 04:11:40 +01:00
2021-09-02 14:35:05 +02:00
2021-09-02 14:35:05 +02:00
2022-12-11 04:11:40 +01:00
2022-12-11 04:11:40 +01:00
2023-10-30 04:05:49 +01:00
2021-09-02 14:35:05 +02:00
2021-09-02 14:35:05 +02:00
2022-12-11 04:11:40 +01:00
2022-12-11 04:11:40 +01:00
2022-12-11 04:11:40 +01:00
2021-09-02 14:35:05 +02:00
2021-09-02 14:35:05 +02:00
2022-12-11 04:11:40 +01:00
2021-09-02 14:35:05 +02:00
2022-03-31 05:08:15 +02:00
2022-12-11 04:11:40 +01:00
2022-12-11 04:11:40 +01:00
2022-12-11 04:11:40 +01:00
2021-09-02 14:35:05 +02:00
2023-04-16 01:45:31 +02:00
2022-12-11 04:11:40 +01:00
2023-10-18 23:53:54 +02:00