label abms for profiling purposes

see https://github.com/t4im/profiler/#labeling
This commit is contained in:
Tim
2015-08-20 14:52:01 +02:00
parent d7c56bfcdb
commit 3dc94b67cc
3 changed files with 3 additions and 0 deletions

View File

@ -176,6 +176,7 @@ function homedecor.register_furnace(name, furnacedef)
minetest.register_abm({
nodenames = {name, name_active, name.."_locked", name_active.."_locked"},
label = "furnaces",
interval = 1.0,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)