summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-11-12 21:35:10 +0100
committerPaweł Redman <pawel.redman@gmail.com>2019-02-10 14:47:47 +0100
commitb49f5e5352f8d1191a2bb865c6749c1555053f6d (patch)
tree36c73eb284e70cf932b82865a601d92e8fcb3d57
parentcf8a9b2e7f2eea0c6e6f92b3925cd5edab5b70cb (diff)
Log more antistacking data.
-rw-r--r--src/game/g_main.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 17798fb..37d4b3e 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -2749,12 +2749,11 @@ static void CheckAntistack(void)
level.alienHandicap = 1.0f;
level.humanHandicap = 1.0f;
- if (level.antistackWasHandicapping) {
- G_LogPrintf("Antistack: %d %d reset\n",
- level.alienKills, level.humanKills);
- if (g_antistack.integer > 0)
- trap_SendServerCommand(-1, "^1Teams are no longer uneven.");
- }
+ G_LogPrintf("Antistack: %d %d n/a\n",
+ level.alienKills, level.humanKills);
+
+ if (level.antistackWasHandicapping && g_antistack.integer > 0)
+ trap_SendServerCommand(-1, "^1Teams are no longer uneven.");
level.antistackWasHandicapping = qfalse;
}