Skip to content

Commit

Permalink
Update Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNormalnij authored Nov 6, 2024
1 parent a9a6923 commit 6752784
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ bool CStaticFunctionDefinitions::SetElementData(CElement* pElement, const char*
// Unsubscribe all the players
if (lastSyncType == ESyncType::SUBSCRIBE && syncType != ESyncType::SUBSCRIBE)
m_pPlayerManager->ClearElementData(pElement, szName);

// Set its custom data
pElement->SetCustomData(szName, Variable, syncType);
return true;
Expand Down

0 comments on commit 6752784

Please sign in to comment.