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
@@ -32,6 +32,9 @@ function EID:renderMCMDummyDescription()
if hudOffset == nil and ScreenHelper then
hudOffset = ScreenHelper.GetOffset()
end
if REPENTANCE then
hudOffset = (Options.HUDOffset * 10)
end
EID.Config["HUDOffset"] = hudOffset
EID:addTextPosModifier("HudOffset", Vector((hudOffset * 2) - 20, hudOffset - 10))
if MCM.IsVisible and EID.MCMCompat_isDisplayingEIDTab ~= "" then