From 57bd37367726fcd84bae40f049abf922c1411629 Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Sat, 23 Dec 2023 14:15:21 -0800 Subject: [PATCH] Fix some vote_skip bugs (firekiller) --- mods/ctf/ctf_modebase/skip_vote.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ctf/ctf_modebase/skip_vote.lua b/mods/ctf/ctf_modebase/skip_vote.lua index c40bd7c9c9..0f90e553f5 100644 --- a/mods/ctf/ctf_modebase/skip_vote.lua +++ b/mods/ctf/ctf_modebase/skip_vote.lua @@ -42,7 +42,7 @@ function ctf_modebase.skip_vote.start_vote() for _, player in ipairs(minetest.get_connected_players()) do add_vote_hud(player) minetest.sound_play("ctf_modebase_notification", { - gain = 1.0, + gain = 0.8, pitch = 1.0, }, true) voters_count = voters_count + 1 @@ -176,6 +176,7 @@ local function player_vote(name, vote) local player = minetest.get_player_by_name(name) if hud:exists(player, "skip_vote:vote") then hud:remove(player, "skip_vote:vote") + hud:remove(player, "skip_vote:background") end if voters_count == 0 then