Fix vote related bugs
* Reset playertag on new match * Clear votes on new match
This commit is contained in:
parent
c1fe05b78f
commit
72c5afab55
5 changed files with 28 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue