1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2024-12-26 18:50:23 +01:00

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

View File

@ -37,9 +37,10 @@ if io.open(worldpath.."/moretrees_settings.txt","r") == nil then
if not block then break end if not block then break end
io.write(block) io.write(block)
end end
end
else
dofile(worldpath.."/moretrees_settings.txt") dofile(worldpath.."/moretrees_settings.txt")
end
dofile(modpath.."/tree_models.lua") dofile(modpath.."/tree_models.lua")
dofile(modpath.."/biome_defs.lua") dofile(modpath.."/biome_defs.lua")