Fix dumb error with file closure.
This commit is contained in:
parent
1eb6658a15
commit
ee590db95e
1 changed files with 1 additions and 1 deletions
2
abms.lua
2
abms.lua
|
@ -71,7 +71,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
local out = io.open(fun_caves.world..'/fun_caves_data.txt','w')
|
local out = io.open(fun_caves.world..'/fun_caves_data.txt','w')
|
||||||
if out then
|
if out then
|
||||||
out:write(minetest.serialize(fun_caves.db))
|
out:write(minetest.serialize(fun_caves.db))
|
||||||
out.close()
|
out:close()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Promote mobs based on spawn position
|
-- Promote mobs based on spawn position
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue