]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Display noisy ready message in chat instead of console
authorz411 <z411@omaera.org>
Tue, 18 Jan 2022 20:25:05 +0000 (17:25 -0300)
committerz411 <z411@omaera.org>
Tue, 18 Jan 2022 20:25:05 +0000 (17:25 -0300)
qcsrc/server/command/cmd.qc

index f92e151fec16d87995e0479e4c1dc5970e4e3147..4c51e695d99d65526f399b092cfd9f81c42f69d5 100644 (file)
@@ -382,13 +382,13 @@ void ClientCommand_ready(entity caller, int request)
                                        {
                                                caller.ready = false;
                                                if (IS_PLAYER(caller) || INGAME_JOINED(caller))
-                                                       bprint(playername(caller.netname, caller.team, false), "^2 is ^1NOT^2 ready\n");
+                                                       bprint("\{1}", playername(caller.netname, caller.team, false), "^2 is ^1NOT^2 ready\n");
                                        }
                                        else
                                        {
                                                caller.ready = true;
                                                if (IS_PLAYER(caller) || INGAME_JOINED(caller))
-                                                       bprint(playername(caller.netname, caller.team, false), "^2 is ready\n");
+                                                       bprint("\{1}", playername(caller.netname, caller.team, false), "^2 is ready\n");
                                        }
 
                                        caller.last_ready = time;