hide flickering hint text when scoreboard is open

This commit is contained in:
rtldg 2021-07-06 01:56:15 +00:00
parent 4b524772fa
commit 00fa237c28

View File

@ -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, "<pre>");