KH2: Fix empty location groups (#2757)

Co-authored-by: Aaron Wagener <mmmcheese158@gmail.com>
This commit is contained in:
JaredWeakStrike
2024-01-29 12:39:45 -05:00
committed by GitHub
parent 0bc9966d6f
commit 69c80501c4

View File

@@ -1356,5 +1356,5 @@ exclusion_table = {
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]
}