mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-26 05:50:14 +00:00
Make modlist an empty array by default instead of null (#377)
Related launcher PR: https://github.com/BeamMP/BeamMP-Launcher/pull/136
This commit is contained in:
1 file changed
+1
-1
@@ -43,5 +43,5 @@ private:
|
|||||||
int mModsLoaded = 0;
|
int mModsLoaded = 0;
|
||||||
|
|
||||||
std::mutex mModsMutex;
|
std::mutex mModsMutex;
|
||||||
nlohmann::json mMods;
|
nlohmann::json mMods = nlohmann::json::array();
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user