summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-11-12 21:35:10 +0100
committerPaweł Redman <pawel.redman@gmail.com>2018-11-16 00:08:22 +0100
commita0a28f6d76808d4962018320dff0caa5b96d2db3 (patch)
treea381e295aaf0a91e317ede92ca0d095bc15538b1 /src/game
parentb94eb84d5dfed71925984be6a0373b132cf1106d (diff)
Log more antistacking data.
Diffstat (limited to 'src/game')
-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;
}