Closed boformer closed 9 years ago
Fixes #26
The bug was caused by the SerializableDataExtension.OnLoadDataTimed method, which called buildingThemesManager.EnableTheme. That method calls GetDistrictThemes , which calls getDefaultDistrictThemes because the _districtsThemes dictionary is empty.
SerializableDataExtension.OnLoadDataTimed
buildingThemesManager.EnableTheme
GetDistrictThemes
getDefaultDistrictThemes
_districtsThemes
Seems to work. Uploading to the workshop
Fixes #26
The bug was caused by the
SerializableDataExtension.OnLoadDataTimed
method, which calledbuildingThemesManager.EnableTheme
. That method callsGetDistrictThemes
, which callsgetDefaultDistrictThemes
because the_districtsThemes
dictionary is empty.