Set LastChangeInfo on a Sixup skin change

This commit is contained in:
Learath 2020-06-24 16:25:35 +03:00
parent 2fb4d73103
commit 3a9fa693f2

View file

@ -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;