]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Added debugging messages
authorz411 <z411@omaera.org>
Mon, 7 Nov 2022 09:20:07 +0000 (06:20 -0300)
committerz411 <z411@omaera.org>
Mon, 7 Nov 2022 09:20:07 +0000 (06:20 -0300)
qcsrc/server/client.qc

index c7fa83be755f9a69d9ebd1953f601f9bcc056da4..e0539e4409f0a0ac9bd17a55b282578179df1cb3 100644 (file)
@@ -1988,6 +1988,7 @@ void Join(entity this)
        {
                Join(to_join);
                this.team_selected = false; // Don't let this player select team
+               LOG_INFOF("Forcing joining of queued player %s!", to_join.netname);
        }
 
        if(!this.team_selected)
@@ -2082,6 +2083,8 @@ bool joinAllowed(entity this)
        if (ShowTeamSelection(this)) return false;
        if (teamplay && !SpectatorWantsJoin(this))
        {
+               // TODO : Refactor
+               LOG_INFOF("Spec %s wants to join. Queueing.", this.netname);
                CS(this).wants_join = true;
                return false;
        }