From 3a9fa693f2f46655743d20dc00e63dff828557b7 Mon Sep 17 00:00:00 2001 From: Learath Date: Wed, 24 Jun 2020 16:25:35 +0300 Subject: [PATCH] Set LastChangeInfo on a Sixup skin change --- src/game/server/gamecontext.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 2e2eb1fb0..c2531b26b 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -1443,6 +1443,8 @@ void *CGameContext::PreProcessMsg(int *MsgID, CUnpacker *pUnpacker, int ClientID pPlayer->m_LastChangeInfo + Server()->TickSpeed() * g_Config.m_SvInfoChangeDelay > Server()->Tick()) return 0; + pPlayer->m_LastChangeInfo = Server()->Tick(); + CTeeInfo Info(pMsg->m_apSkinPartNames, pMsg->m_aUseCustomColors, pMsg->m_aSkinPartColors); Info.FromSixup(); pPlayer->m_TeeInfos = Info;