]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/announcer.qc
Reapply some changes that got lost in the previous merge commit and update code to...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / announcer.qc
index 51c67ccabe53d9a0d25eef6cc8a41f2317bd5a0a..dc4d7e2c5b0ff528afec43be43703ec71b74ca71 100644 (file)
@@ -25,8 +25,6 @@ void Announcer_Countdown()
        float roundstarttime = getstatf(STAT_ROUNDSTARTTIME);
        if(roundstarttime == -1)
        {
-               // stop countdown immediately
-               centerprint_generic(CPID_GAME_STARTING, "", 1, 0);
                remove(self);
                return;
        }
@@ -49,7 +47,7 @@ void Announcer_Countdown()
        else // countdown is still going
        {
                if(roundstarttime == starttime)
-                       centerprint_generic(CPID_GAME_STARTING, _("^1Round starts in %d seconds"), 1, countdown_rounded);
+                       Local_Notification(MSG_CENTER, CENTER_COUNTDOWN_ROUNDSTART, countdown_rounded);
                else
                        Local_Notification(MSG_CENTER, CENTER_COUNTDOWN_GAMESTART, countdown_rounded);