Fix tfcstats_rankbots not working as expected when disabled (bug 3192, r=Nextra)
Former-commit-id: 2ed695c8bbb1d69dc9241af18fb0477b1f19cce8
This commit is contained in:
@@ -106,7 +106,7 @@ void CPlayer::PutInServer(){
|
||||
|
||||
ingame = true;
|
||||
|
||||
if ( ignoreBots(pEdict) )
|
||||
if ((int)tfcstats_rankbots->value == 0 && IsBot()) // ignoreBots() can't be used as bot's flags are not set yet.
|
||||
return;
|
||||
|
||||
restartStats();
|
||||
|
||||
Reference in New Issue
Block a user