From 2bf9e7d916a29d2f9b5f9a70ba42b89471c05de6 Mon Sep 17 00:00:00 2001 From: Tixx <83774803+WiserTixx@users.noreply.github.com> Date: Wed, 9 Oct 2024 19:42:47 +0200 Subject: [PATCH] Make modlist [] by default instead of null --- include/TResourceManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/TResourceManager.h b/include/TResourceManager.h index aad951b..5cdc498 100644 --- a/include/TResourceManager.h +++ b/include/TResourceManager.h @@ -43,5 +43,5 @@ private: int mModsLoaded = 0; std::mutex mModsMutex; - nlohmann::json mMods; + nlohmann::json mMods = nlohmann::json::array(); };