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:
Lion authored and GitHub committed 2024-10-12 21:06:41 +02:00
commit 4f052a3e0a
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}; };