From 969bc3d65c6702625a1a8b64bd6e4f91ef4ba84f Mon Sep 17 00:00:00 2001 From: hkc Date: Thu, 12 Oct 2023 21:28:44 +0300 Subject: [PATCH] frames don't have alpha??? --- augment/modules/wh.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/augment/modules/wh.lua b/augment/modules/wh.lua index 71234df..1836b82 100644 --- a/augment/modules/wh.lua +++ b/augment/modules/wh.lua @@ -5,7 +5,7 @@ return function() for i, entry in ipairs(cache) do if el[i] == nil then entry.cube.setSize(0.0, 0.0, 0.0) - entry.frame.setAlpha(0x00) + entry.text.setAlpha(0x00) end end for i, entity in ipairs(nearbyEntities) do @@ -21,7 +21,7 @@ return function() cache[i].cube.setPosition(entity.x, entity.y, entity.z) cache[i].frame.setPosition(entity.x, entity.y, entity.z) - cache[i].frame.setAlpha(0xFF) + cache[i].text.setAlpha(0xFF) cache[i].text.setText(entity.name) cache[i].text.setColor(0xFF0000FF) end