From b255cb3fbc039adf2b33dbf3041d4f5708df4c5f Mon Sep 17 00:00:00 2001 From: Toby1710 <69259430+DiamondPlane@users.noreply.github.com> Date: Sun, 18 Jul 2021 19:24:45 +0300 Subject: [PATCH] Fix vote not clearing on new match (#908) --- mods/ctf/ctf_match/vote.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ctf/ctf_match/vote.lua b/mods/ctf/ctf_match/vote.lua index 2bfc622..cb59263 100644 --- a/mods/ctf/ctf_match/vote.lua +++ b/mods/ctf/ctf_match/vote.lua @@ -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 = {