]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Show maxclients in who command
authorSamual <samual@xonotic.org>
Mon, 19 Dec 2011 13:26:35 +0000 (08:26 -0500)
committerSamual <samual@xonotic.org>
Mon, 19 Dec 2011 13:26:35 +0000 (08:26 -0500)
qcsrc/server/command/common.qc

index 06b0d8f0f9c15572ff92bc343f25fc04c91fc760..ceedc775c5cccae0d537892003731839cf4d06d9 100644 (file)
@@ -330,7 +330,7 @@ void CommonCommand_time(float request, entity caller)
        }
 }
 
-void CommonCommand_timein(float request, entity caller)
+void CommonCommand_timein(float request, entity caller) // todo entirely re-write this
 {
        switch(request)
        {
@@ -495,7 +495,7 @@ void CommonCommand_who(float request, entity caller, float argc)
                                ++total_listed_players;
                        }
                        
-                       print_to(caller, strcat("Finished listing ", ftos(total_listed_players), " client(s)."));
+                       print_to(caller, strcat("Finished listing ", ftos(total_listed_players), " client(s) out of ", ftos(maxclients), " slots."));
                        
                        return; // never fall through to usage
                }