forked from minetest-mods/technic
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:
parent
3eefa2f181
commit
c6464d3ebe
@ -171,6 +171,7 @@ end
|
|||||||
-----------------------------------------------
|
-----------------------------------------------
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"technic:switching_station"},
|
nodenames = {"technic:switching_station"},
|
||||||
|
label = "Switching Station", -- allows the mtt profiler to profile this abm individually
|
||||||
interval = 1,
|
interval = 1,
|
||||||
chance = 1,
|
chance = 1,
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
Loading…
Reference in New Issue
Block a user