Skip to content

Commit

Permalink
Send all mods to Atlas that are enabled (#536)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ASpoonPlaysGames authored Nov 22, 2024
1 parent db40260 commit fad89b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primedev/mods/modmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit fad89b3

Please sign in to comment.