Skip to content

Commit

Permalink
Make modlist an empty array by default instead of null (#377)
Browse files Browse the repository at this point in the history
Related launcher PR: BeamMP/BeamMP-Launcher#136
  • Loading branch information
lionkor authored Oct 12, 2024
2 parents 89c9062 + 2bf9e7d commit 4f052a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/TResourceManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ class TResourceManager {
int mModsLoaded = 0;

std::mutex mModsMutex;
nlohmann::json mMods;
nlohmann::json mMods = nlohmann::json::array();
};

0 comments on commit 4f052a3

Please sign in to comment.