]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make allspec command skip bots, we can't do anything about them
authorSamual <samual@xonotic.org>
Thu, 10 Nov 2011 20:03:32 +0000 (15:03 -0500)
committerSamual <samual@xonotic.org>
Thu, 10 Nov 2011 20:03:32 +0000 (15:03 -0500)
qcsrc/server/gamecommand.qc

index d40bc9ec38837ac364a1d8493e72407811cc4acd..26def9e878ebf07b4ed04c973b8d5298a52b563c 100644 (file)
@@ -203,7 +203,7 @@ void GameCommand_allspec(float request, float argc)
                        string reason = argv(1);
                        float i;
                        
-                       FOR_EACH_PLAYER(client)
+                       FOR_EACH_REALPLAYER(client)
                        {
                                self = client;
                                PutObserverInServer();