]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Bad parameter for round over messages in Arena and CA
authorterencehill <piuntn@gmail.com>
Sat, 9 Mar 2013 16:33:40 +0000 (17:33 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 9 Mar 2013 16:33:40 +0000 (17:33 +0100)
qcsrc/server/mutators/gamemode_arena.qc
qcsrc/server/mutators/gamemode_ca.qc

index b0757fd82d6464424aee5ad3e6a92ae3a8bc39a8..df82e23e0e4682069b992a26b1143f1d4f021932 100644 (file)
@@ -63,7 +63,7 @@ float Arena_CheckWinner()
        if(round_handler_GetTimeLeft() <= 0)
        {
                Send_Notification(NOTIF_ALL, world, MSG_CENTER, CENTER_ROUND_OVER);
-               Send_Notification(NOTIF_ALL, world, MSG_INFO, CENTER_ROUND_OVER);
+               Send_Notification(NOTIF_ALL, world, MSG_INFO, INFO_ROUND_OVER);
                round_handler_Init(5, autocvar_g_arena_warmup, autocvar_g_arena_round_timelimit);
                return 1;
        }
index f383d1296a719852c8e78377f847156839a5950d..9a1e6b2065d7d1e4b45db4cf6b31627dbc4b8dd7 100644 (file)
@@ -70,7 +70,7 @@ float CA_CheckWinner()
        if(round_handler_GetTimeLeft() <= 0)
        {
                Send_Notification(NOTIF_ALL, world, MSG_CENTER, CENTER_ROUND_OVER);
-               Send_Notification(NOTIF_ALL, world, MSG_INFO, CENTER_ROUND_OVER);
+               Send_Notification(NOTIF_ALL, world, MSG_INFO, INFO_ROUND_OVER);
                allowed_to_spawn = FALSE;
                round_handler_Init(5, autocvar_g_ca_warmup, autocvar_g_ca_round_timelimit);
                return 1;