Fix tfcstats_pause imcomplete implementation (bug 5836, r=Nextra)

Former-commit-id: ea7b0f56fd2ea2f8d59d5b30172d8d9bfe4079f9
This commit is contained in:
Vincent Herbet
2013-08-07 16:46:40 +02:00
parent dca0bbcbb1
commit 225494b559
3 changed files with 15 additions and 6 deletions

View File

@@ -134,8 +134,8 @@ void ServerActivate_Post( edict_t *pEdictList, int edictCount, int clientMax ){
void PlayerPreThink_Post( edict_t *pEntity ) {
CPlayer *pPlayer = GET_PLAYER_POINTER(pEntity);
if ( !isModuleActive() ) // stats only
return;
if (!isModuleActive()) // stats only
RETURN_META(MRES_IGNORED);
if (pPlayer->clearStats && pPlayer->clearStats < gpGlobals->time && pPlayer->ingame){