Skip to content

Commit 86e0e4b

Browse files
kilbithBlockMen
authored andcommittedMar 6, 2015
Remove undeclared writing variable
1 parent 2a6050e commit 86e0e4b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎mods/beds/spawns.lua

-2
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,11 @@ function beds.save_spawns()
4141
if not beds.spawn then
4242
return
4343
end
44-
writing = true
4544
local output = io.open(org_file, "w")
4645
for i, v in pairs(beds.spawn) do
4746
output:write(v.x.." "..v.y.." "..v.z.." "..i.."\n")
4847
end
4948
io.close(output)
50-
writing = false
5149
end
5250

5351
function beds.set_spawns()

0 commit comments

Comments
 (0)
Please sign in to comment.