]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix restartnotifs command
authorSamual Lenks <samual@xonotic.org>
Sat, 24 Aug 2013 23:38:07 +0000 (19:38 -0400)
committerSamual Lenks <samual@xonotic.org>
Sat, 24 Aug 2013 23:38:07 +0000 (19:38 -0400)
qcsrc/common/command/generic.qc

index 143f3bd78c03591919a40be9aebe3d90d479f172..4ca8b3780c3d4950c4644be777260836d8da4c01 100644 (file)
@@ -436,19 +436,21 @@ void GenericCommand_restartnotifs(float request)
                        print(sprintf(
                                strcat(
                                        "Restart_Notifications(): Restarting %d notifications... ",
-                                       "Counts: MSG_ANNCE = %d, MSG_INFO = %d, MSG_CENTER = %d, MSG_MULTI = %d\n"
+                                       "Counts: MSG_ANNCE = %d, MSG_INFO = %d, MSG_CENTER = %d, MSG_MULTI = %d, MSG_CHOICE = %d\n"
                                ),
                                (
                                        NOTIF_ANNCE_COUNT +
                                        NOTIF_INFO_COUNT +
                                        NOTIF_CENTER_COUNT +
-                                       NOTIF_MULTI_COUNT
+                                       NOTIF_MULTI_COUNT +
+                                       NOTIF_CHOICE_COUNT
                                ),
                                NOTIF_ANNCE_COUNT,
                                NOTIF_INFO_COUNT,
                                NOTIF_CENTER_COUNT,
-                               NOTIF_MULTI_COUNT
-                       ));
+                               NOTIF_MULTI_COUNT,
+                               NOTIF_CHOICE_COUNT
+                       ));     
                        Destroy_All_Notifications();
                        CALL_ACCUMULATED_FUNCTION(RegisterNotifications);
                        #else