summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itemwheel.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/itemwheel.lua b/itemwheel.lua
index 2b816da..3db86eb 100644
--- a/itemwheel.lua
+++ b/itemwheel.lua
@@ -67,6 +67,10 @@ local function update_wheel(player)
image = def.wielded_image
need_scale = false
end
+ -- needed for nodes with inventory cube inv imges, e.g. glass
+ if string.find(image, 'inventorycube') then
+ need_scale = true
+ end
end
-- get the id and update hud elements