1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 14:50:41 +02:00

pipes.lua: place old ABM code registration behind if-guard for new flag

This commit is contained in:
thetaepsilon-gamedev
2017-09-27 15:19:20 +01:00
parent 64a5b18e89
commit 59ac978093
2 changed files with 17 additions and 0 deletions

View File

@ -111,6 +111,9 @@ dofile(pipeworks.modpath.."/filter-injector.lua")
dofile(pipeworks.modpath.."/trashcan.lua")
dofile(pipeworks.modpath.."/wielder.lua")
-- temporary flag to enable new flowing behaviour
pipeworks.enable_new_flow_logic = true
if pipeworks.enable_pipes then dofile(pipeworks.modpath.."/pipes.lua") end
if pipeworks.enable_teleport_tube then dofile(pipeworks.modpath.."/teleport_tube.lua") end
if pipeworks.enable_pipe_devices then dofile(pipeworks.modpath.."/devices.lua") end