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!")