summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua5
1 files 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")