From 86e0e4b2bfaf876efd1d009349d6fb8cf2342dca Mon Sep 17 00:00:00 2001 From: kilbith Date: Fri, 6 Mar 2015 11:43:54 +0100 Subject: [PATCH] Remove undeclared writing variable --- mods/beds/spawns.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/mods/beds/spawns.lua b/mods/beds/spawns.lua index 39da21c2..6e087f82 100644 --- a/mods/beds/spawns.lua +++ b/mods/beds/spawns.lua @@ -41,13 +41,11 @@ function beds.save_spawns() if not beds.spawn then return end - writing = true local output = io.open(org_file, "w") for i, v in pairs(beds.spawn) do output:write(v.x.." "..v.y.." "..v.z.." "..i.."\n") end io.close(output) - writing = false end function beds.set_spawns() -- 2.25.1