Skip to content

Commit 2a85b62

Browse files
committed
Fix EID offset
1 parent 6f0c126 commit 2a85b62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src_hudhelper/hud_helper.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,9 +2006,9 @@ local function InitFunctions()
20062006
and HudHelper.LastAppliedHUD[HudHelper.HUDType.EXTRA][1].Name ~= "Reset EID"
20072007
and HudHelper.LastAppliedHUD[HudHelper.HUDType.EXTRA][1].Priority ~= HudHelper.Priority.VANILLA
20082008
end,
2009-
OnRender = function(_, _, _, position)
2009+
OnRender = function(_, playerHUDIndex, _, position)
20102010
local posYModifier = 0
2011-
local offset = -40
2011+
local offset = -30
20122012
local vanillaOffsets = {
20132013
"Tainted HUD",
20142014
"J&E HUD",
@@ -2021,7 +2021,7 @@ local function InitFunctions()
20212021
end
20222022
end
20232023

2024-
posYModifier = position.Y + offset
2024+
posYModifier = position.Y + offset - HudHelper.GetHUDPosition(playerHUDIndex).Y
20252025

20262026
EID:addTextPosModifier(
20272027
"HudHelper",

0 commit comments

Comments
 (0)