From 68717eaa0408ff458e5d57b38c45f23bc286d62e Mon Sep 17 00:00:00 2001 From: hkc Date: Sat, 14 Oct 2023 14:03:53 +0300 Subject: [PATCH] rectangles have height, did you know that? --- augment/modules/wh.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/augment/modules/wh.lua b/augment/modules/wh.lua index 5102ae5..8985c11 100644 --- a/augment/modules/wh.lua +++ b/augment/modules/wh.lua @@ -34,7 +34,7 @@ local function entityBox(ent) self._hp_rect_fg.setSize(100 * entity.health / entity.maxHealth, 15) else self._hp_txt.setText(string.format("%s", entity.name)) - self._hp_rect_fg.setSize(0) + self._hp_rect_fg.setSize(0, 0) end end, destroy = function(self)