summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2015-02-28 00:47:15 +0100
committerTim <t4im@users.noreply.github.com>2015-02-28 00:47:15 +0100
commitc6464d3ebe38de5a73d5f41a36bf128db7104d61 (patch)
tree7715c5d69a73c0c895e0c28425d095d9871fad02
parent3eefa2f18134ab59139f73f4bbf918024c494d7f (diff)
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
-rw-r--r--technic/machines/switching_station.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/technic/machines/switching_station.lua b/technic/machines/switching_station.lua
index c510683..d6f23a3 100644
--- a/technic/machines/switching_station.lua
+++ b/technic/machines/switching_station.lua
@@ -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)