summaryrefslogtreecommitdiff
path: root/node_axle.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-14 16:58:37 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-14 16:58:37 -0700
commit51c5e9b6417b807ea3b7890240bd2ea43e8a297a (patch)
tree94c33a1c482b4509d10b31a3e260b1f187aaad53 /node_axle.lua
parentf0e09f136a40efa7ebf41db880693b67b3f9f628 (diff)
Diagonal movement setting for the auto-controller.
Diffstat (limited to 'node_axle.lua')
-rw-r--r--node_axle.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_axle.lua b/node_axle.lua
index ab36c97..de221b3 100644
--- a/node_axle.lua
+++ b/node_axle.lua
@@ -39,7 +39,7 @@ minetest.register_node("digtron:axle", {
local image = DigtronLayout.create(pos, clicker)
image:rotate_layout_image(node.param2)
if image:can_write_layout_image() then
- image:write_layout_image()
+ image:write_layout_image(clicker)
minetest.sound_play("whirr", {gain=1.0, pos=pos})
meta = minetest.get_meta(pos)