X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud%2Fpanel%2Fscore.qc;h=dca00c4cb015aa4e8e6245dbc7bcf02a776779ed;hb=3cc3fd891467801ab51984bd7fd1e1523988e3f6;hp=3046335ca6ced612cc99a364384444121c650e79;hpb=f084f1cb6897d099c08aacc95eb16ea2fe36f9aa;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/hud/panel/score.qc b/qcsrc/client/hud/panel/score.qc index 3046335ca..dca00c4cb 100644 --- a/qcsrc/client/hud/panel/score.qc +++ b/qcsrc/client/hud/panel/score.qc @@ -214,10 +214,8 @@ void HUD_Score() if (!scoreboard_fade_alpha) // the scoreboard too calls Scoreboard_UpdatePlayerTeams Scoreboard_UpdatePlayerTeams(); - if(spectatee_status) { - if(teamplay && autocvar_hud_spectatorteamdisplay) return; - if(gametype == MAPINFO_TYPE_DUEL && autocvar_hud_spectatordueldisplay) return; - } + // z411 : Don't display if we have the spectator HUD scores enabled + if(spectatee_status && autocvar_hud_panel_spect_scores) return; HUD_Panel_LoadCvars(); vector pos, mySize;