diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-11-18 00:55:03 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-11-18 00:55:03 +0100 |
commit | 3804fbcbc1776a075826f5233dfbe95b1796a3c5 (patch) | |
tree | d4ab2ffa105031e82ad834793d94e6a4d85644b8 | |
parent | fe39574c41296f0a35371c1f931ec0564bdea549 (diff) |
One more player counting fix.
I'm getting sick and tired of these anti-documenting variable names. I hope this is the last fucking patch.
-rw-r--r-- | src/game/g_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 0aa08b7..9d3f04b 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -2744,7 +2744,7 @@ static void CheckAntistack(void) if (client->pers.connected != CON_CONNECTED) continue; - if (client->sess.sessionTeam == TEAM_SPECTATOR) + if (client->pers.teamSelection == PTE_NONE) continue; score = client->ps.persistant[PERS_SCORE]; |