Fix vote related bugs

* Reset playertag on new match
* Clear votes on new match
This commit is contained in:
ClobberXD 2018-08-20 15:53:42 +05:30 committed by rubenwardy
parent c1fe05b78f
commit 72c5afab55
5 changed files with 28 additions and 7 deletions

View file

@ -40,6 +40,8 @@ function ctf_match.vote_next(name, params)
})
end
ctf_match.register_on_new_match(vote.clear_vote)
minetest.register_chatcommand("vote", {
privs = {
interact = true,