diff options
author | NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> | 2024-08-23 01:15:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-23 01:15:05 +0200 |
commit | 85a0b1b6ad1ede3066b29e19d2ac7cd01638a05c (patch) | |
tree | 251fd2a1cffde9c27598fb815a2481264911d060 | |
parent | d20051ee361ab2480ea0a35ffaebfd19293a2708 (diff) | |
download | lingo-apworld-85a0b1b6ad1ede3066b29e19d2ac7cd01638a05c.tar.gz lingo-apworld-85a0b1b6ad1ede3066b29e19d2ac7cd01638a05c.tar.bz2 lingo-apworld-85a0b1b6ad1ede3066b29e19d2ac7cd01638a05c.zip |
Core, some worlds: Rename sweep_for_events to sweep_for_advancements (#3571)
* Rename sweep_for_events to sweep_for_advancements * more event->advancement renames * oops accidentally deleted the deprecation thing in the force push * Update TestDungeon.py * Update BaseClasses.py * Update BaseClasses.py * oops * utils.deprecate * treble, you had no idea how right you were * Update test_panel_hunt.py * Update BaseClasses.py Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com> --------- Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>
-rw-r--r-- | __init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py index 9853be7..2a61a71 100644 --- a/__init__.py +++ b/__init__.py | |||
@@ -85,7 +85,7 @@ class LingoWorld(World): | |||
85 | state.collect(self.create_item(self.player_logic.forced_good_item), True) | 85 | state.collect(self.create_item(self.player_logic.forced_good_item), True) |
86 | 86 | ||
87 | all_locations = self.multiworld.get_locations(self.player) | 87 | all_locations = self.multiworld.get_locations(self.player) |
88 | state.sweep_for_events(locations=all_locations) | 88 | state.sweep_for_advancements(locations=all_locations) |
89 | 89 | ||
90 | unreachable_locations = [location for location in all_locations | 90 | unreachable_locations = [location for location in all_locations |
91 | if not state.can_reach_location(location.name, self.player)] | 91 | if not state.can_reach_location(location.name, self.player)] |