v1.2.3.b3 - HUD auto-hide
This commit is contained in:
parent
8bb69c1ea1
commit
20f1ba212a
10 changed files with 31 additions and 10 deletions
|
|
@ -241,7 +241,7 @@ namespace src.player
|
|||
if (isOtherPlugin && playerInfo.HideHUD != int.MaxValue)
|
||||
{
|
||||
playerInfo.HideHUD = tickCount + 15;
|
||||
SkillUtils.CloseMenu(player);
|
||||
SkillUtils.SetMenuPaused(player, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -86,7 +86,11 @@ namespace src.player
|
|||
|
||||
if (player.PawnIsAlive && skillPlayer.SkillHudExpired < now && string.IsNullOrEmpty(skillPlayer.PrintHTML)) return;
|
||||
|
||||
if (SkillUtils.HasMenu(player)) return;
|
||||
if (SkillUtils.HasMenu(player))
|
||||
{
|
||||
SkillUtils.SetMenuPaused(player, false);
|
||||
return;
|
||||
}
|
||||
|
||||
string infoLine = string.Empty;
|
||||
string skillLine = string.Empty;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue