diff --git a/mods/ctf_match/reset.lua b/mods/ctf_match/reset.lua index 8290a47..82f029f 100644 --- a/mods/ctf_match/reset.lua +++ b/mods/ctf_match/reset.lua @@ -15,9 +15,19 @@ function ctf_match.next() minetest.after(1, function() ctf.reset() + if vote then + vote.active = {} + vote.queue = {} + vote.update_all_hud() + end end) end) else ctf.reset() + if vote then + vote.active = {} + vote.queue = {} + vote.update_all_hud() + end end end