Fix undeclared local variable

This commit is contained in:
kilbith 2015-03-06 11:43:54 +01:00
parent 2a6050e552
commit 2ea4ab347f

View file

@ -41,7 +41,7 @@ function beds.save_spawns()
if not beds.spawn then
return
end
writing = true
local 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")