/ gauge floating 0 when at 100%

This commit is contained in:
FajsiEx 2021-11-26 20:54:08 +01:00
parent 9befa85d55
commit 42874906c8
1 changed files with 1 additions and 2 deletions

View File

@ -156,8 +156,7 @@ local render = function (deltaTime, gaugeType, gaugeValue, isArsEnabled)
smallNumberX = gaugePosX-26; smallNumberX = gaugePosX-26;
else else
bigNumber = '100'; bigNumber = '100';
smallNumber = 0; smallNumber = '';
smallNumberX = -100; -- yeet it out of existance
end end
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_MIDDLE) gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_MIDDLE)