From 00fa237c28b6aa7db42e98069649861d4def181c Mon Sep 17 00:00:00 2001 From: rtldg <55846624+rtldg@users.noreply.github.com> Date: Tue, 6 Jul 2021 01:56:15 +0000 Subject: [PATCH] hide flickering hint text when scoreboard is open --- addons/sourcemod/scripting/shavit-hud.sp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/sourcemod/scripting/shavit-hud.sp b/addons/sourcemod/scripting/shavit-hud.sp index 67ab5e89..865ee1f4 100644 --- a/addons/sourcemod/scripting/shavit-hud.sp +++ b/addons/sourcemod/scripting/shavit-hud.sp @@ -1537,12 +1537,11 @@ void UpdateMainHUD(int client) if(IsSource2013(gEV_Type)) { - if(AddHUDToBuffer_Source2013(client, huddata, sBuffer, 512) > 0) + if(!(GetClientButtons(client) & IN_SCORE) && AddHUDToBuffer_Source2013(client, huddata, sBuffer, 512) > 0) { PrintHintText(client, "%s", sBuffer); } } - else { StrCat(sBuffer, 512, "
");