]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/client.qc
Make scoreboard team selection on spacebar press work for old clients. While at it...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / client.qc
index cf93e4e7a3dd311875e4a32fe372fadd1aae65ad..e9955b407dfb6c4ef7a5af4452ddf51dbb967291 100644 (file)
@@ -1939,7 +1939,7 @@ bool ShowTeamSelection(entity this)
        if (!teamplay || autocvar_g_campaign || autocvar_g_balance_teams || this.team_selected || (CS(this).wasplayer && autocvar_g_changeteam_banned) || Player_HasRealForcedTeam(this))
                return false;
        if (frametime) // once per frame is more than enough
-               stuffcmd(this, "scoreboard_team_selection\n");
+               stuffcmd(this, "_scoreboard_team_selection 1\n");
        return true;
 }
 void Join(entity this)