Ensure Network Controller timer is running when node is right clicked

This commit is contained in:
Zenon Seth 2024-04-20 21:10:19 +01:00
parent 56eed9dea5
commit 09931c2da8

View File

@ -104,6 +104,7 @@ function logistica.register_controller(name, def)
def.on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
if clicker and clicker:is_player() then
show_controller_formspec(pos, clicker:get_player_name())
logistica.start_controller_timer(pos)
end
end
def._mcl_hardness = 1.5