From 85e07fb787104b055fd24b7856d1de35d7e4120c Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 9 Apr 2013 00:32:15 -0400 Subject: [PATCH] forgot to test if the file can be read the second time the mod is run. Should be fixed now. --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index d36baf4..90768ab 100644 --- 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")