1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-11-17 15:58:29 +01:00

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