forgot to test if the file can be read the second time the mod is run.

Should be fixed now.
This commit is contained in:
Vanessa Ezekowitz 2013-04-09 00:32:15 -04:00
parent 8a1ebec951
commit 85e07fb787
1 changed files with 3 additions and 2 deletions

View File

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