]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/cmd.qc
Further cleanup miscfunctions, document the need to use intrusive lists on entities...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / cmd.qc
index c2c7c099287c0dfd3cdb60dfea664ae796935adb..8ffc52b24aa5dc0a7855f46894de47c6d5bc2001 100644 (file)
@@ -7,6 +7,7 @@
 #include <common/command/_mod.qh>
 
 #include "common.qh"
+#include "getreplies.qh"
 #include "vote.qh"
 
 #include "../bot/api.qh"
@@ -395,13 +396,13 @@ void ClientCommand_ready(entity caller, int request)  // todo: anti-spam for tog
                                                {
                                                        caller.ready = false;
                                                        if(IS_PLAYER(caller) || caller.caplayer == 1)
-                                                               bprint(playername(caller, false), "^2 is ^1NOT^2 ready\n");
+                                                               bprint(playername(caller.netname, caller.team, false), "^2 is ^1NOT^2 ready\n");
                                                }
                                                else
                                                {
                                                        caller.ready = true;
                                                        if(IS_PLAYER(caller) || caller.caplayer == 1)
-                                                               bprint(playername(caller, false), "^2 is ready\n");
+                                                               bprint(playername(caller.netname, caller.team, false), "^2 is ready\n");
                                                }
 
                                                // cannot reset the game while a timeout is active!