remove redundant ~= nil

This commit is contained in:
Vanessa Ezekowitz 2013-12-17 20:28:54 -05:00
parent dfed550cae
commit 01e76e1ea7

View File

@ -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