Skip to content

Commit

Permalink
KH2: Fix empty location groups (#2757)
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Wagener <[email protected]>
  • Loading branch information
JaredWeakStrike and alwaysintreble authored Jan 29, 2024
1 parent 0bc9966 commit 69c8050
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 69c8050

Please sign in to comment.