Skip to content

Commit 902646c

Browse files
JaredWeakStrikealwaysintreble
authored andcommitted
KH2: Fix empty location groups (ArchipelagoMW#2757)
Co-authored-by: Aaron Wagener <[email protected]>
1 parent 519c29b commit 902646c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worlds/kh2/Locations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1356,5 +1356,5 @@
13561356
location_groups: typing.Dict[str, list]
13571357
location_groups = {
13581358
Region_Name: [loc for loc in Region_Locs if "Event" not in loc]
1359-
for Region_Name, Region_Locs in KH2REGIONS.items() if Region_Locs
1359+
for Region_Name, Region_Locs in KH2REGIONS.items() if Region_Locs and "Event" not in Region_Locs[0]
13601360
}

0 commit comments

Comments
 (0)