Show the team selection dialog on old servers
authorterencehill <piuntn@gmail.com>
Sat, 23 Jul 2022 16:55:16 +0000 (18:55 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 23 Jul 2022 16:55:16 +0000 (18:55 +0200)
commands.cfg

index 51ba1845e35083d417e506a2a97c95e01f315e4f..9899cf0f55ae936965dc24f647f68e87078bc69a 100644 (file)
@@ -149,8 +149,10 @@ alias hud_save "qc_cmd_cl hud save ${* ?}"
 alias radar "qc_cmd_cl hud radar ${* ?}"
 alias scoreboard_columns_help "qc_cmd_cl hud scoreboard_columns_help"
 alias scoreboard_columns_set "qc_cmd_cl hud scoreboard_columns_set ${* ?}"
-alias scoreboard_team_selection "_scoreboard_team_selection 1"
 
+alias _menu_showteamselect1 "_scoreboard_team_selection 1"
+alias _menu_showteamselect0 "menu_showteamselect"
+alias scoreboard_team_selection "_menu_showteamselect$_scoreboard_team_selection_available"
 
 // ========================================================
 //  cmd (client-to-server command) - server/command/cmd.qc