rectangles have height, did you know that?

This commit is contained in:
Casey 2023-10-14 14:03:53 +03:00
parent 631abc9ab9
commit 68717eaa04
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -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)