label the switching station abm for profiling purposes

this allows the mtt profiler to profile this abm individually from other abms since t4im/mtt@48eff13
This commit is contained in:
Tim 2015-02-28 00:47:15 +01:00
parent 3eefa2f181
commit c6464d3ebe

@ -171,6 +171,7 @@ end
-----------------------------------------------
minetest.register_abm({
nodenames = {"technic:switching_station"},
label = "Switching Station", -- allows the mtt profiler to profile this abm individually
interval = 1,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)