summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-09-27 17:53:08 +0100
committerthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-09-27 17:53:08 +0100
commit9d014824881c1f64c1846283f5e1af945cffc375 (patch)
treef51f0b5c0d52d8039fb5b719df0175722e8903ff
parent3e827c23b9a9df72f55150ac38214444edd697f3 (diff)
downloadpipeworks-9d014824881c1f64c1846283f5e1af945cffc375.tar
pipeworks-9d014824881c1f64c1846283f5e1af945cffc375.tar.gz
pipeworks-9d014824881c1f64c1846283f5e1af945cffc375.tar.bz2
pipeworks-9d014824881c1f64c1846283f5e1af945cffc375.tar.xz
pipeworks-9d014824881c1f64c1846283f5e1af945cffc375.zip
init.lua: add missing dofile for new flow logic
-rw-r--r--init.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 80a83d3..470db2e 100644
--- a/init.lua
+++ b/init.lua
@@ -119,7 +119,10 @@ 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_new_flow_logic then
+ dofile(pipeworks.modpath.."/new_flow_logic.lua")
+ dofile(pipeworks.modpath.."/register_flow_logic.lua")
+end
if pipeworks.enable_redefines then
dofile(pipeworks.modpath.."/compat-chests.lua")