Fix Abnormal Statuses showing trash values when teleporting to Training Area

This commit is contained in:
GreenComfyTea
2023-08-16 13:53:34 +03:00
parent 2d669a6c4a
commit 1f0cd6e883
11 changed files with 92 additions and 63 deletions

View File

@@ -200,7 +200,7 @@ function this.draw_bar(bar, position, opacity_scale, percentage)
local outline_offset = bar.outline.offset;
if outline_thickness == 0 then
if utils.number.is_equal(outline_thickness, 0) then
outline_offset = 0;
end
local half_outline_offset = outline_offset / 2;