]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Using bprint instead of sprint
authorLyberta <lyberta@lyberta.net>
Thu, 23 Mar 2017 05:18:18 +0000 (08:18 +0300)
committerLyberta <lyberta@lyberta.net>
Thu, 23 Mar 2017 05:18:18 +0000 (08:18 +0300)
qcsrc/server/player.qc

index c0460aedc88767b50023a1c5928f9ffa52ce26dd..fa203b4f667859e0bb4a624675383ad7df4629bf 100644 (file)
@@ -695,10 +695,7 @@ void DebugPrintToChat(entity player, string text)
 void PrintToChatAll(string text)
 {
        text = strcat("\{1}^7", text, "\n");
-       FOREACH_CLIENT(IS_REAL_CLIENT(it),
-       {
-               sprint(it, text);
-       });
+       bprint(text);
 }
 
 void DebugPrintToChatAll(string text)