From f07132be1db822ef6b137958eb1e70c9d6a842e8 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 10 Apr 2022 23:18:32 +0200 Subject: [PATCH] Quickmenu: make sure player team info is updated before showing a player list --- qcsrc/client/hud/panel/quickmenu.qc | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2