Fix node not specified in spawn_visual

This commit is contained in:
LNJ 2017-03-26 22:12:16 +02:00
parent d7d41a8ed9
commit e784ad6a17
No known key found for this signature in database
GPG Key ID: 69268DBD835B6B0B

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