Update 'pipeworks/init.lua'

This commit is contained in:
Milan2018 2021-04-30 13:06:42 +02:00
parent b57f30e9c7
commit 95a1558456

View file

@ -22,7 +22,7 @@ pdofile(pipeworks.modpath.."/default_settings.lua")
-- Read the external config file if it exists. -- Read the external config file if it exists.
local worldsettingspath = pipeworks.worldpath.."/pipeworks_settings.txt" local worldsettingspath = pipeworks.worldpath.."/pipeworks_settings.txt"
local worldsettingsfile = io.open(worldsettingspath, "r") local worldsettingsfile = io.open(worldsettingspath, "r")
if worldsettingsfile then if false and worldsettingsfile then
worldsettingsfile:close() worldsettingsfile:close()
if dofile(worldsettingspath) == "defect" then if dofile(worldsettingspath) == "defect" then
return return