Skip to content

Commit c7a7d0c

Browse files
committed
Check for vanilla patches in EID patch
1 parent 550d575 commit c7a7d0c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src_hudhelper/hud_helper.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1983,7 +1983,9 @@ local function InitFunctions()
19831983
return game:GetFrameCount() > 0
19841984
and playerHUDIndex == 1
19851985
and (not HudHelper.LastAppliedHUD[HudHelper.HUDType.EXTRA][1]
1986-
or HudHelper.LastAppliedHUD[HudHelper.HUDType.EXTRA][1].Name == "EID")
1986+
or HudHelper.LastAppliedHUD[HudHelper.HUDType.EXTRA][1].Name == "EID"
1987+
or HudHelper.LastAppliedHUD[HudHelper.HUDType.EXTRA][1].Priority == HudHelper.Priority.VANILLA
1988+
)
19871989
and EID.PositionModifiers["HudHelper"]
19881990
end,
19891991
OnRender = function()
@@ -2001,6 +2003,7 @@ local function InitFunctions()
20012003
and playerHUDIndex == 1
20022004
and HudHelper.LastAppliedHUD[HudHelper.HUDType.EXTRA][1]
20032005
and HudHelper.LastAppliedHUD[HudHelper.HUDType.EXTRA][1].Name ~= "Reset EID"
2006+
and HudHelper.LastAppliedHUD[HudHelper.HUDType.EXTRA][1].Priority ~= HudHelper.Priority.VANILLA
20042007
end,
20052008
OnRender = function(_, _, _, position)
20062009
local posYModifier = 0

0 commit comments

Comments
 (0)