]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Stop centerprint countdown messages when an arena/CA/freezetag game ends
authorterencehill <piuntn@gmail.com>
Wed, 11 Jan 2012 17:47:22 +0000 (18:47 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 11 Jan 2012 17:52:37 +0000 (18:52 +0100)
qcsrc/server/arena.qc

index 0262b89b896fa769f541b4e3620bb8cb1fc9e6df..a51da69ff041b1afc9051f69b789692ef2f58c7e 100644 (file)
@@ -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)