From 4a1b5b2333e6fd5b2002e1af2fdf490e3759ff7d Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Fri, 14 Aug 2020 10:19:14 +0200 Subject: [PATCH] start crane bug fixed --- control.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.lua b/control.lua index e4b594c..1eebc25 100644 --- a/control.lua +++ b/control.lua @@ -281,8 +281,8 @@ minetest.register_node("towercrane:mast_ctrl_off", { -- switch the crane ON on_rightclick = function (pos, node, clicker) if is_my_crane(pos, clicker) and not is_operator(clicker) then - start_crane(pos, clicker) if set_operator_privs(clicker, pos) then + start_crane(pos, clicker) local pos1, pos2 = calc_construction_area(pos) -- control player every second minetest.after(1, control_player, pos, pos1, pos2, clicker:get_player_name())