FiX CYCLIC option being ignored.
authorNovatux <nathanael.courant@laposte.net>
Mon, 21 Oct 2013 09:14:46 +0000 (11:14 +0200)
committerNovatux <nathanael.courant@laposte.net>
Mon, 21 Oct 2013 09:15:12 +0000 (11:15 +0200)
default_settings.txt
init.lua

index eb09043463ab110332c1dfb82041905c3cc10a2e..95622e628c024a0312175079aa62fe4c0c651018 100644 (file)
@@ -15,3 +15,4 @@ enable_crossing_tube = true
 enable_sand_tube = true
 enable_mese_sand_tube = true
 enable_one_way_tube = true
+CYCLIC = true
index b2063375ddd6dee8fd44f0e11997e37dbf7e5815..106b471fe2a229ad19a375baa9668e23ffd5e709 100644 (file)
--- 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!")