summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2013-10-21 11:14:46 +0200
committerNovatux <nathanael.courant@laposte.net>2013-10-21 11:15:12 +0200
commit6eaf8eac622276915160b1a0220086974d47bcc0 (patch)
treedd691b2138786d0948e5c34576964f9c7c2af743
parentb62b5bc9e17ae973d976552168dc5bec9487d612 (diff)
downloadpipeworks-6eaf8eac622276915160b1a0220086974d47bcc0.tar
pipeworks-6eaf8eac622276915160b1a0220086974d47bcc0.tar.gz
pipeworks-6eaf8eac622276915160b1a0220086974d47bcc0.tar.bz2
pipeworks-6eaf8eac622276915160b1a0220086974d47bcc0.tar.xz
pipeworks-6eaf8eac622276915160b1a0220086974d47bcc0.zip
FiX CYCLIC option being ignored.
-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!")