Closed neitsa closed 7 years ago
In LoadPreset
_gameData.UserData.ChosenAnimalsCanGrazeNowState = LoadThreeState(xTemperature, "AnimalsCanGrazeNow")
Note the root element as xTemperature
xTemperature
In SavePreset
SaveThreeState(xTerrainFilters, "AnimalsCanGrazeNow", _gameData.UserData.ChosenAnimalsCanGrazeNowState);
Note the root element as xTerrainFilters
xTerrainFilters
So, the load and save code uses two different root elements, which means this preset can not be loaded properly....
TODO: choose the same root element for both of them!
In LoadPreset
Note the root element as
xTemperature
In SavePreset
Note the root element as
xTerrainFilters
So, the load and save code uses two different root elements, which means this preset can not be loaded properly....
TODO: choose the same root element for both of them!