Skip to content

Commit 6752784

Browse files
authored
Update Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp
1 parent a9a6923 commit 6752784

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -989,6 +989,7 @@ bool CStaticFunctionDefinitions::SetElementData(CElement* pElement, const char*
989989
// Unsubscribe all the players
990990
if (lastSyncType == ESyncType::SUBSCRIBE && syncType != ESyncType::SUBSCRIBE)
991991
m_pPlayerManager->ClearElementData(pElement, szName);
992+
992993
// Set its custom data
993994
pElement->SetCustomData(szName, Variable, syncType);
994995
return true;

0 commit comments

Comments
 (0)