mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Set LastChangeInfo on a Sixup skin change
This commit is contained in:
parent
2fb4d73103
commit
3a9fa693f2
|
@ -1443,6 +1443,8 @@ void *CGameContext::PreProcessMsg(int *MsgID, CUnpacker *pUnpacker, int ClientID
|
||||||
pPlayer->m_LastChangeInfo + Server()->TickSpeed() * g_Config.m_SvInfoChangeDelay > Server()->Tick())
|
pPlayer->m_LastChangeInfo + Server()->TickSpeed() * g_Config.m_SvInfoChangeDelay > Server()->Tick())
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
pPlayer->m_LastChangeInfo = Server()->Tick();
|
||||||
|
|
||||||
CTeeInfo Info(pMsg->m_apSkinPartNames, pMsg->m_aUseCustomColors, pMsg->m_aSkinPartColors);
|
CTeeInfo Info(pMsg->m_apSkinPartNames, pMsg->m_aUseCustomColors, pMsg->m_aSkinPartColors);
|
||||||
Info.FromSixup();
|
Info.FromSixup();
|
||||||
pPlayer->m_TeeInfos = Info;
|
pPlayer->m_TeeInfos = Info;
|
||||||
|
|
Loading…
Reference in a new issue