mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
[OC2] Only Calculate Priority Locations Once (#1662)
This commit is contained in:
@@ -249,8 +249,9 @@ class Overcooked2World(World):
|
||||
self.level_mapping = None
|
||||
|
||||
def set_location_priority(self) -> None:
|
||||
priority_locations = self.get_priority_locations()
|
||||
for level in Overcooked2Level():
|
||||
if level.level_id in self.get_priority_locations():
|
||||
if level.level_id in priority_locations:
|
||||
location: Location = self.multiworld.get_location(level.location_name_item, self.player)
|
||||
location.progress_type = LocationProgressType.PRIORITY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user