projects
/
zefram
/
minetest
/
pipeworks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfed550
)
remove redundant ~= nil
author
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Wed, 18 Dec 2013 01:28:54 +0000
(20:28 -0500)
committer
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Wed, 18 Dec 2013 01:28:54 +0000
(20:28 -0500)
init.lua
patch
|
blob
|
history
diff --git
a/init.lua
b/init.lua
index 4fa187198a4becf7aea424e699ce60a3804d3c6b..7173e653cb07e93461ec0ec1c149dd7d18936c63 100644
(file)
--- a/
init.lua
+++ b/
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