Fix vote not clearing on new match (#908)

This commit is contained in:
Toby1710 2021-07-18 19:24:45 +03:00 committed by GitHub
parent 24c267c3b8
commit b255cb3fbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ function ctf_match.vote_next(name)
})
end
ctf_match.register_on_new_match(vote.clear_vote)
ctf_match.register_on_new_match(vote.clear)
minetest.register_chatcommand("vote", {
privs = {