summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default_settings.txt1
-rw-r--r--init.lua4
2 files changed, 3 insertions, 2 deletions
diff --git a/default_settings.txt b/default_settings.txt
index eb09043..95622e6 100644
--- a/default_settings.txt
+++ b/default_settings.txt
@@ -15,3 +15,4 @@ enable_crossing_tube = true
enable_sand_tube = true
enable_mese_sand_tube = true
enable_one_way_tube = true
+CYCLIC = true
diff --git a/init.lua b/init.lua
index b206337..106b471 100644
--- a/init.lua
+++ b/init.lua
@@ -8,6 +8,8 @@
-- Read (and if necessary, copy) the config file
+local DEBUG = false
+
local worldpath = minetest.get_worldpath()
local modpath = minetest.get_modpath("pipeworks")
@@ -124,7 +126,5 @@ if enable_deployer then dofile(modpath.."/deployer.lua") end
if enable_node_breaker then dofile(modpath.."/node_breaker.lua") end
minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty")
-local DEBUG = false
-local CYCLIC = true
print("Pipeworks loaded!")