]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud/panel/score.qc
Add a mutator hook to hide the score HUD panel
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / score.qc
index 70a47a8120e4fa3c126cdc0a0a3daa4ee2891771..32db0a29fbf6d16ec6d478319fd20fc2b76e45d2 100644 (file)
@@ -147,7 +147,7 @@ void HUD_Score()
        if(!autocvar__hud_configure)
        {
                if(!autocvar_hud_panel_score) return;
-               if(spectatee_status == -1 && (ISGAMETYPE(RACE) || ISGAMETYPE(CTS))) return;
+               if(MUTATOR_CALLHOOK(HUD_Score_show)) return;
        }
 
        HUD_Panel_LoadCvars();