Skip to content

Commit

Permalink
KH2: Fix empty location groups (ArchipelagoMW#2757)
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Wagener <[email protected]>
  • Loading branch information
2 people authored and Jouramie committed Feb 28, 2024
1 parent b4f7c5b commit 5bbd612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/kh2/Locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1356,5 +1356,5 @@
location_groups: typing.Dict[str, list]
location_groups = {
Region_Name: [loc for loc in Region_Locs if "Event" not in loc]
for Region_Name, Region_Locs in KH2REGIONS.items() if Region_Locs
for Region_Name, Region_Locs in KH2REGIONS.items() if Region_Locs and "Event" not in Region_Locs[0]
}

0 comments on commit 5bbd612

Please sign in to comment.