]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/command/generic.qc
Fix restartnotifs command
[xonotic/xonotic-data.pk3dir.git] / 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