summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-09-27 17:00:18 +0100
committerthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-09-27 17:01:46 +0100
commit69133818f7283ea3a8b14060b71df769cac9eb48 (patch)
treebd845e76694d2943dcf2bcefb78beeb329bb4af6 /init.lua
parentd6dcd51302633e952b023526da0fe33d3759e2f8 (diff)
downloadpipeworks-69133818f7283ea3a8b14060b71df769cac9eb48.tar
pipeworks-69133818f7283ea3a8b14060b71df769cac9eb48.tar.gz
pipeworks-69133818f7283ea3a8b14060b71df769cac9eb48.tar.bz2
pipeworks-69133818f7283ea3a8b14060b71df769cac9eb48.tar.xz
pipeworks-69133818f7283ea3a8b14060b71df769cac9eb48.zip
pipes.lua: split out new flow logic registration and make it respect feature toggles
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 5094a13..6ceca65 100644
--- a/init.lua
+++ b/init.lua
@@ -117,6 +117,9 @@ 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
+-- individual enable flags also checked in register_flow_logic.lua
+if pipeworks.enable_new_flow_logic then dofile(pipeworks.modpath.."/register_flow_logic.lua") end
+
if pipeworks.enable_redefines then
dofile(pipeworks.modpath.."/compat-chests.lua")
dofile(pipeworks.modpath.."/compat-furnaces.lua")