mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-24 01:40:22 +01:00
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