diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-11-18 00:55:03 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2019-02-10 14:47:47 +0100 |
commit | 3d9b294999100911e9cfbeb90b8ca42ebc22ce05 (patch) | |
tree | b83982eccb20879bc74408d2e4d52c980cb1d7a6 /src | |
parent | fc63228af788966c871684e0f7d58c0c30fd8aa4 (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.
Diffstat (limited to 'src')
-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]; |