aboutsummaryrefslogtreecommitdiff
path: root/primedev
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2024-11-22 14:27:48 +0000
committerGitHub <noreply@github.com>2024-11-22 15:27:48 +0100
commitfad89b3536e0db610a1c93334e4c7f8a5b00ded2 (patch)
tree5d050a6870b4b4be4ba479827d6b92f81c8027a3 /primedev
parentdb40260d57a9480b82d850c093aeaf14eefda9fd (diff)
downloadNorthstarLauncher-fad89b3536e0db610a1c93334e4c7f8a5b00ded2.tar.gz
NorthstarLauncher-fad89b3536e0db610a1c93334e4c7f8a5b00ded2.zip
Send all mods to Atlas that are enabled (#536)v1.29.0-rc1v1.29.0
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.
Diffstat (limited to 'primedev')
-rw-r--r--primedev/mods/modmanager.cpp2
1 files changed, 1 insertions, 1 deletions
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());