forked from mtcontrib/pipeworks
remove redundant ~= nil
This commit is contained in:
parent
dfed550cae
commit
01e76e1ea7
2
init.lua
2
init.lua
|
@ -17,7 +17,7 @@ pipeworks.modpath = minetest.get_modpath("pipeworks")
|
|||
|
||||
dofile(pipeworks.modpath.."/default_settings.txt")
|
||||
|
||||
if io.open(pipeworks.worldpath.."/pipeworks_settings.txt","r") ~= nil then
|
||||
if io.open(pipeworks.worldpath.."/pipeworks_settings.txt","r") then
|
||||
dofile(pipeworks.worldpath.."/pipeworks_settings.txt")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user