summaryrefslogtreecommitdiff
path: root/node_axle.lua
diff options
context:
space:
mode:
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 c30a401..f78b220 100644
--- a/node_axle.lua
+++ b/node_axle.lua
@@ -38,7 +38,7 @@ minetest.register_node("digtron:axle", {
end
local image = digtron.get_layout_image(pos, clicker)
digtron.rotate_layout_image(image, node.param2)
- if digtron.can_write_layout_image(image, clicker) then
+ if digtron.can_write_layout_image(image) then
digtron.write_layout_image(image)
minetest.sound_play("whirr", {gain=1.0, pos=pos})