Skip to content

Commit 32aa0b2

Browse files
authored
Merge pull request Monika-After-Story#10386 from ThePotatoGuy/highlight-apply-check-none
Fix empty MASWeatherMap creation crash
2 parents 31db6fb + 3429453 commit 32aa0b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Monika After Story/game/zz_weather.rpy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ init -50 python:
703703
self.__mhm = MASHighlightMap.create_from_mapping(
704704
store.mas_weather.PRECIP_TYPES,
705705
None,
706-
precip_map
706+
{} if precip_map is None else precip_map
707707
)
708708

709709
def __iter__(self):

0 commit comments

Comments
 (0)