From 3cdeac398890240f8cb478457f13bcd2dbfdaba5 Mon Sep 17 00:00:00 2001 From: hkc Date: Sat, 14 Oct 2023 13:32:05 +0300 Subject: [PATCH] oh stupid meeeeeeeee --- 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 5a8f624..20b7235 100644 --- a/augment/modules/wh.lua +++ b/augment/modules/wh.lua @@ -27,7 +27,7 @@ local function entityBox(ent) _hp_txt = hp_txt, update = function(self, entity) self._cube.setPosition(entity.x - 0.25, entity.y - 0.25, entity.z - 0.25) - self._hpbar.setPosition(entity, entity.y + 0.5, entity.z) + self._hpbar.setPosition(entity.x, entity.y + 0.5, entity.z) self._hp_rect_fg.setSize(2 * entity.health / entity.maxHealth, 0.25) self._hp_txt.setText(string.format("%s (%.1f/%.1f)", entity.name, entity.health, entity.maxHealth)) end,