From ee590db95ef6b13add924cc1445b49ec102c608b Mon Sep 17 00:00:00 2001 From: Duane Date: Fri, 1 Jul 2016 15:46:19 -0500 Subject: [PATCH] Fix dumb error with file closure. --- abms.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abms.lua b/abms.lua index a5d2d7e..90e86ec 100644 --- a/abms.lua +++ b/abms.lua @@ -71,7 +71,7 @@ minetest.register_globalstep(function(dtime) local out = io.open(fun_caves.world..'/fun_caves_data.txt','w') if out then out:write(minetest.serialize(fun_caves.db)) - out.close() + out:close() end -- Promote mobs based on spawn position