Readd clear objects at end of round

This commit is contained in:
rubenwardy 2018-01-26 23:24:31 +00:00
parent 33c4c98dba
commit 77d622b10c

View file

@ -173,6 +173,8 @@ function ctf_match.load_map_meta(idx, name)
end end
ctf_match.register_on_new_match(function() ctf_match.register_on_new_match(function()
minetest.clear_objects({ mode = "quick" })
-- Choose next map index, but don't select the same one again -- Choose next map index, but don't select the same one again
local idx local idx
if ctf_map.map then if ctf_map.map then