]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix debug print
authorSamual Lenks <samual@xonotic.org>
Sun, 3 Mar 2013 17:29:28 +0000 (12:29 -0500)
committerSamual Lenks <samual@xonotic.org>
Sun, 3 Mar 2013 17:29:28 +0000 (12:29 -0500)
qcsrc/common/notifications.qc

index a858d9f0e6e103677891b700edc54ec729333255..2072bd6ff8ce04711dcef42f33b9eb878e4a3e74 100644 (file)
@@ -1035,7 +1035,14 @@ void Read_Notification(float is_new)
                                // in this case, net_name IS the cpid we want to kill
                                centerprint_generic(net_name, "", 0, 0);
                        }
-                       else { print("Read_Notification(%d) at %f: ^1TRIED TO KILL NO_CPID CENTERPRINT!\n"); } 
+                       else
+                       {
+                               print(sprintf(
+                                       "Read_Notification(%d) at %f: ^1TRIED TO KILL NO_CPID CENTERPRINT!\n",
+                                       is_new,
+                                       time
+                               ));
+                       } 
                }
        }
        else