mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-04 09:11:31 -04:00
make sure m_saved in Mod is initialized to an object
This commit is contained in:
parent
ef86ae03f1
commit
5bbd34cd73
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ namespace geode {
|
|||
/**
|
||||
* Saved values
|
||||
*/
|
||||
json::Value m_saved;
|
||||
json::Value m_saved = json::Object();
|
||||
/**
|
||||
* Setting values
|
||||
*/
|
||||
|
@ -56,7 +56,7 @@ namespace geode {
|
|||
/**
|
||||
* Settings save data. Stored for efficient loading of custom settings
|
||||
*/
|
||||
json::Value m_savedSettingsData;
|
||||
json::Value m_savedSettingsData = json::Object();
|
||||
|
||||
Impl(Mod* self, ModInfo const& info);
|
||||
~Impl();
|
||||
|
|
Loading…
Add table
Reference in a new issue