forked from luanti-org/minetest_game
		
	Remove undeclared writing variable
This commit is contained in:
		@@ -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()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user