projects
/
zefram
/
minetest
/
moretrees.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a1ebec
)
forgot to test if the file can be read the second time the mod is run.
author
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Tue, 9 Apr 2013 04:32:15 +0000
(
00:32
-0400)
committer
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Tue, 9 Apr 2013 04:32:15 +0000
(
00:32
-0400)
Should be fixed now.
init.lua
patch
|
blob
|
history
diff --git
a/init.lua
b/init.lua
index d36baf4c62710826cec7631752fed5eca7fb1797..90768ab78524a71e03dc86dded7f654ec7162ea1 100644
(file)
--- a/
init.lua
+++ b/
init.lua
@@
-37,9
+37,10
@@
if io.open(worldpath.."/moretrees_settings.txt","r") == nil then
if not block then break end
io.write(block)
end
-end
-dofile(worldpath.."/moretrees_settings.txt")
+else
+ dofile(worldpath.."/moretrees_settings.txt")
+end
dofile(modpath.."/tree_models.lua")
dofile(modpath.."/biome_defs.lua")