label the vacuum tube logic abms for profiling purposes

useable with the mtt profiler starting with t4im/mtt@48eff13
This commit is contained in:
Tim 2015-03-04 22:18:26 -05:00 committed by Vanessa Ezekowitz
parent e8ab36a2c9
commit 674450236b

View File

@ -109,6 +109,7 @@ end
minetest.register_abm({nodenames = {"group:vacuum_tube"},
interval = 1,
chance = 1,
label = "Vacuum tubes",
action = function(pos, node, active_object_count, active_object_count_wider)
if node.name == "pipeworks:sand_tube" then
vacuum(pos, 2)