]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use monster name for spawn message, rather than command argument
authorMario <mario.mario@y7mail.com>
Sun, 2 Jun 2013 12:11:30 +0000 (22:11 +1000)
committerMario <mario.mario@y7mail.com>
Sun, 2 Jun 2013 12:11:30 +0000 (22:11 +1000)
qcsrc/server/command/cmd.qc

index 941e6b5e25bb1eb4d49ef05b63ec864a8f742a79..d29da28db81c973435d37dcb4521eb9ef30bf558 100644 (file)
@@ -295,8 +295,8 @@ void ClientCommand_mobspawn(float request, float argc)
                        
                                e = spawnmonster(tospawn, 0, self, self, trace_endpos, FALSE, moveflag);
                                if(mname) e.netname = strzone(mname);
-                       
-                               sprint(self, strcat("Spawned 1 ", tospawn, "\n"));
+                               
+                               sprint(self, strcat("Spawned ", e.netname, "\n"));
                        }
                        
                        return;