Update 'pipeworks/init.lua'

This commit is contained in:
Milan2018 2021-04-30 13:07:28 +02:00
parent 95a1558456
commit ec42ca25c8

View file

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