Use official HUD Offset support in Rep

This commit is contained in:
kittenchilly committed 2021-11-18 14:31:20 -06:00
1 parent 005422eb39
commit 07ab088892
4 files changed
+12 -2

No files matched your search

+3
View File
@@ -868,6 +868,9 @@ function EID:handleHUDElement(hudElement)
end
local screenSize = EID:getScreenSize()
local hudOffset = EID.Config["HUDOffset"]
if REPENTANCE then
hudOffset = (Options.HUDOffset * 10)
end
for _,v in ipairs(hudElement.anchors) do
if v == "TOP" then
alteredHudElement.y = hudElement.y + hudOffset * 2