Remove entities on match end

This commit is contained in:
rubenwardy 2017-11-12 01:23:42 +00:00
parent edd289fbf7
commit 5953a552da

View file

@ -14,6 +14,7 @@ function ctf_match.next()
minetest.delete_area(vector.new(-r, -r, -r), vector.new(r, r, r)) minetest.delete_area(vector.new(-r, -r, -r), vector.new(r, r, r))
minetest.after(1, function() minetest.after(1, function()
minetest.clear_objects()
ctf.reset() ctf.reset()
if vote then if vote then
vote.active = {} vote.active = {}