fix: use industrialtest.updateDelay

This commit is contained in:
Handful of Frogs 2024-05-10 15:52:30 +03:00
parent dff0af2c2e
commit 39855a61b2
2 changed files with 2 additions and 2 deletions

View File

@ -378,7 +378,7 @@ function industrialtest.internal.registerMachine(config)
return inv, "src", mcl_util.select_stack(hop_inv, hop_list, inv, "src")
end
definition._mcl_hoppers_on_after_push=function(pos)
minetest.get_node_timer(pos):start(1.0)
minetest.get_node_timer(pos):start(industrialtest.updateDelay)
end
end
definition.groups._industrialtest_wrenchUnmountable=1

View File

@ -305,7 +305,7 @@ elseif industrialtest.mclAvailable then
definition._mcl_hoppers_on_try_pull = mcl_furnaces.hoppers_on_try_pull
definition._mcl_hoppers_on_try_push = mcl_furnaces.hoppers_on_try_push
definition._mcl_hoppers_on_after_push = function(pos)
minetest.get_node_timer(pos):start(1.0)
minetest.get_node_timer(pos):start(industrialtest.updateDelay)
end
end
minetest.register_node("industrialtest:iron_furnace",definition)