From: terencehill Date: Sun, 10 Apr 2022 21:18:32 +0000 (+0200) Subject: Quickmenu: make sure player team info is updated before showing a player list X-Git-Tag: xonotic-v0.8.5~88 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f07132be1db822ef6b137958eb1e70c9d6a842e8;p=xonotic%2Fxonotic-data.pk3dir.git Quickmenu: make sure player team info is updated before showing a player list --- diff --git a/qcsrc/client/hud/panel/quickmenu.qc b/qcsrc/client/hud/panel/quickmenu.qc index 245bdad1b..01fae6e02 100644 --- a/qcsrc/client/hud/panel/quickmenu.qc +++ b/qcsrc/client/hud/panel/quickmenu.qc @@ -766,6 +766,7 @@ void HUD_Quickmenu_PlayerListEntries(string cmd, int teamplayers, bool without_m if(teamplayers && !team_count) return; + Scoreboard_UpdatePlayerTeams(); for(pl = players.sort_next; pl; pl = pl.sort_next) { if(teamplayers == 1 && (pl.team != myteam || pl.team == NUM_SPECTATOR)) // only own team players