summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 3762b03..0edad10 100644
--- a/init.lua
+++ b/init.lua
@@ -256,6 +256,8 @@ core.register_entity("drawers:visual", {
})
local function spawn_visual(pos)
+ local node = core.get_node(pos)
+
-- data for the new visual
drawers.last_drawer_pos = pos