From: terencehill Date: Wed, 11 Jan 2012 17:47:22 +0000 (+0100) Subject: Stop centerprint countdown messages when an arena/CA/freezetag game ends X-Git-Tag: xonotic-v0.6.0~42^2~7^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b7392209de00de21c212e8453c6596c3ec9c468e;p=xonotic%2Fxonotic-data.pk3dir.git Stop centerprint countdown messages when an arena/CA/freezetag game ends --- diff --git a/qcsrc/server/arena.qc b/qcsrc/server/arena.qc index 0262b89b89..a51da69ff0 100644 --- a/qcsrc/server/arena.qc +++ b/qcsrc/server/arena.qc @@ -197,6 +197,12 @@ void Arena_Warmup() if(gameover) { + if(warmup && time < warmup) + { + FOR_EACH_REALCLIENT(e) + Send_CSQC_Centerprint_Generic_Expire(e, CPID_ROUND_STARTING); + warmup = 0; + } if(champion && g_arena) { FOR_EACH_REALCLIENT(e)