]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Removed debug logging
authorz411 <z411@omaera.org>
Mon, 7 Nov 2022 17:14:51 +0000 (14:14 -0300)
committerz411 <z411@omaera.org>
Mon, 7 Nov 2022 17:14:51 +0000 (14:14 -0300)
qcsrc/server/client.qc
qcsrc/server/teamplay.qc

index fee973f18b78d0908c3143255f0cab1b80daa58e..83c21ee1bc2507e6f3ff9e5ed82b984c969dfd43 100644 (file)
@@ -1110,8 +1110,6 @@ void ClientConnect(entity this)
                GameLogEcho(strcat(":join:", ftos(this.playerid), ":", ftos(etof(this)), ":", ((IS_REAL_CLIENT(this)) ? GameLog_ProcessIP(this.netaddress) : "bot"), ":", playername(this.netname, this.team, false)));
 
        CS(this).just_joined = true;  // stop spamming the eventlog with additional lines when the client connects
-
-       LOG_INFO("Wants join set to false");
        CS(this).wants_join = false;
 
        stuffcmd(this, clientstuff, "\n");
index 3f9e7951d292be82d7ba941b47303d5685b2630e..7ccac6ffb5d162e64351491730578d8ee3225b59 100644 (file)
@@ -244,13 +244,13 @@ entity SpectatorWantsJoin(entity this)
        FOREACH_CLIENT(IS_REAL_CLIENT(it), {
                if(it == this) continue;
                if(CS(it).wants_join) {
-                       LOG_INFOF("Player is waiting to join: %s", it.netname);
+                       LOG_DEBUGF("Player is waiting to join: %s", it.netname);
                        return it;
                }
        });
 
        // No players waiting to join
-       LOG_INFO("No players waiting to join.");
+       LOG_DEBUG("No players waiting to join.");
        return NULL;
 }