From 2742c619354e61aee095f081b8baa1d63200bfb9 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 17 Nov 2012 15:35:38 +0100 Subject: [PATCH] Fix for bug #1135: players receive no damage after a restart command called by a dedicated server with bots Respecting initial game delay (cvar g_start_delay) in CA too seems to fix it --- qcsrc/server/arena.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/arena.qc b/qcsrc/server/arena.qc index ef81fd92b..71457c0e5 100644 --- a/qcsrc/server/arena.qc +++ b/qcsrc/server/arena.qc @@ -33,7 +33,7 @@ void reset_map(float dorespawn) if(g_arena && autocvar_g_arena_warmup) warmup = time + autocvar_g_arena_warmup; else if(g_ca) { - warmup = time + autocvar_g_ca_warmup; + warmup = max(time, game_starttime) + autocvar_g_ca_warmup; allowed_to_spawn = 1; } else if(g_freezetag) -- 2.39.2