From 396a4fdacdd6f80e3bba55cd6c26a2ae321179d1 Mon Sep 17 00:00:00 2001
From: thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>
Date: Sun, 1 Oct 2017 18:23:58 +0100
Subject: remove register_local_pipes.lua as node registration has been moved
 to more appropriate files

---
 init.lua | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'init.lua')

diff --git a/init.lua b/init.lua
index e8a8d2f..2a95be6 100644
--- a/init.lua
+++ b/init.lua
@@ -121,7 +121,9 @@ dofile(pipeworks.modpath.."/wielder.lua")
 
 local logicdir = "/new_flow_logic/"
 
--- note that even with these files the new flow logic is not yet default
+-- note that even with these files the new flow logic is not yet default.
+-- registration will take place but no actual ABMs/node logic will be installed,
+-- unless pipeworks.enable_new_flow_logic has been set.
 dofile(pipeworks.modpath..logicdir.."flowable_node_registry.lua")
 dofile(pipeworks.modpath..logicdir.."abms.lua")
 dofile(pipeworks.modpath..logicdir.."abm_register.lua")
@@ -130,10 +132,6 @@ dofile(pipeworks.modpath..logicdir.."flowable_node_registry_install.lua")
 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_local_pipes.lua
-if pipeworks.enable_new_flow_logic then
-	dofile(pipeworks.modpath..logicdir.."register_local_pipes.lua")
-end
 
 if pipeworks.enable_redefines then
 	dofile(pipeworks.modpath.."/compat-chests.lua")
-- 
cgit v1.2.3