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

@@ -57,7 +57,7 @@ bool ignoreBots (edict_t *pEnt, edict_t *pOther)
}
bool isModuleActive(){
if ( !(int)CVAR_GET_FLOAT("tfcstats_pause") )
if (!(int)tfcstats_pause->value)
return true;
return false;
}