mirror of https://github.com/FWGS/hlsdk-xash3d
Restore frags when attaching state to player
This commit is contained in:
parent
6f1a8c670c
commit
84962853e8
|
@ -807,6 +807,8 @@ void GGM_ClientPutinServer( edict_t *pEntity, CBasePlayer *pPlayer )
|
|||
pPlayer->m_ggm.menu.m_pPlayer = pPlayer;
|
||||
pPlayer->m_ggm.menu.Clear();
|
||||
pPlayer->m_ggm.pState = GGM_GetState( GGM_GetAuthID(pPlayer), STRING(pEntity->v.netname) );
|
||||
// restore frags
|
||||
GGM_RestoreState( pPlayer );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue