From ed8f49c9b8ff184fea675b7facb8c81b710a7f40 Mon Sep 17 00:00:00 2001 From: Milan2018 Date: Wed, 7 Oct 2020 12:41:08 +0200 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Epipeworks/init.lua?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeworks/init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pipeworks/init.lua b/pipeworks/init.lua index 445a8d4..762fa0f 100644 --- a/pipeworks/init.lua +++ b/pipeworks/init.lua @@ -17,7 +17,9 @@ local worldsettingspath = pipeworks.worldpath.."/pipeworks_settings.txt" local worldsettingsfile = io.open(worldsettingspath, "r") if worldsettingsfile then worldsettingsfile:close() - dofile(worldsettingspath) + if dofile(worldsettingspath) == "defect" then + return + end end if pipeworks.toggles.pipe_mode == "pressure" then minetest.log("warning", "pipeworks pressure logic mode comes with caveats and differences in behaviour, you have been warned!")