]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix some repetition
authorMario <mario@smbclan.net>
Fri, 18 Mar 2016 02:56:04 +0000 (12:56 +1000)
committerMario <mario@smbclan.net>
Fri, 18 Mar 2016 02:56:04 +0000 (12:56 +1000)
qcsrc/client/announcer.qc

index 016c87f326d298db2debceaeeb6688f8bc9670d0..522d1729f40bac71c5b13e92d5469500aebce4e4 100644 (file)
@@ -60,7 +60,7 @@ void Announcer_Countdown()
                        Local_Notification(MSG_CENTER, CENTER_COUNTDOWN_GAMESTART, countdown_rounded);
                        Notification annce_num = Announcer_PickNumber(CNT_GAMESTART, countdown_rounded);
                        if(annce_num != NULL)           
-                               Local_Notification(MSG_ANNCE, Announcer_PickNumber(CNT_GAMESTART, countdown_rounded));
+                               Local_Notification(MSG_ANNCE, annce_num);
                }
 
                this.nextthink = (starttime - (countdown - 1));