Edit EID.Config["Scale"] on EID.Scale

This commit is contained in:
kochetov2000 authored and GitHub committed 2021-12-04 16:19:37 +03:00
1 parent 869fb45690
commit a909826fd3
1 file changed
+2 -1
+2 -1
View File
@@ -122,7 +122,7 @@ local function onDebugRender(t)
for i, v in ipairs(charsToDebug) do
local pos = EID.getTextPosition() + Vector(-5, - 15 + ((i - 1) * 14))
EID:renderString(v, pos, Vector(EID.Config["Scale"], EID.Config["Scale"]), KColor(1, 1, 1, 1, 0, 0, 0))
EID:renderString(v, pos, Vector(EID.Scale, EID.Scale), KColor(1, 1, 1, 1, 0, 0, 0))
if not showDebugChars then
break
@@ -130,3 +130,4 @@ local function onDebugRender(t)
end
end
EID:AddCallback(ModCallbacks.MC_POST_RENDER, onDebugRender)