mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08:26 +00:00
hide flickering hint text when scoreboard is open
This commit is contained in:
parent
4b524772fa
commit
00fa237c28
@ -1537,12 +1537,11 @@ void UpdateMainHUD(int client)
|
|||||||
|
|
||||||
if(IsSource2013(gEV_Type))
|
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);
|
PrintHintText(client, "%s", sBuffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
StrCat(sBuffer, 512, "<pre>");
|
StrCat(sBuffer, 512, "<pre>");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user