1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-11-18 00:08:28 +01:00

new flow logic: abm_register.lua: give core ABM a label

This commit is contained in:
thetaepsilon-gamedev 2017-10-16 21:01:09 +01:00
parent 04db73aa6c
commit 0e74978a73

View File

@ -12,6 +12,7 @@ local flowlogic = pipeworks.flowlogic
local register_flowlogic_abm = function(nodename) local register_flowlogic_abm = function(nodename)
if pipeworks.toggles.pressure_logic then if pipeworks.toggles.pressure_logic then
minetest.register_abm({ minetest.register_abm({
label = "pipeworks new_flow_logic run",
nodenames = { nodename }, nodenames = { nodename },
interval = 1, interval = 1,
chance = 1, chance = 1,