From fad89b3536e0db610a1c93334e4c7f8a5b00ded2 Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Fri, 22 Nov 2024 14:27:48 +0000 Subject: Send all mods to Atlas that are enabled (#536) Instead of just RequiredOnClient mods and mods that have pdiff The idea here is that it gives clients a better overview of what mods are enabled on the server they are joining. --- primedev/mods/modmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'primedev') diff --git a/primedev/mods/modmanager.cpp b/primedev/mods/modmanager.cpp index 52fc6e8b..0c162de0 100644 --- a/primedev/mods/modmanager.cpp +++ b/primedev/mods/modmanager.cpp @@ -1060,7 +1060,7 @@ void ModManager::LoadMods() int currentModIndex = 0; for (Mod& mod : m_LoadedMods) { - if (!mod.m_bEnabled || (!mod.RequiredOnClient && !mod.Pdiff.size())) + if (!mod.m_bEnabled) continue; modinfoDoc["Mods"].PushBack(rapidjson::kObjectType, modinfoDoc.GetAllocator()); -- cgit v1.2.3