From: Novatux Date: Mon, 21 Oct 2013 09:14:46 +0000 (+0200) Subject: FiX CYCLIC option being ignored. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=6eaf8eac622276915160b1a0220086974d47bcc0;p=zefram%2Fminetest%2Fpipeworks.git FiX CYCLIC option being ignored. --- 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!")