Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Fixed the mute button in the scoreboard not working #1703

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel
- Fixed binoculars zooming not being predicted (by @Histalek)
- Fixed an error when trying to pickup a placed equipment (e.g. beacon) (by @Histalek)
- Fixed corpse searching sound playing when searched by a spectator, searched covertly, or searched long range (by @TW1STaL1CKY)
- Fixed the mute button in the scoreboard not working (by @TW1STaL1CKY)

### Changed

Expand Down
4 changes: 2 additions & 2 deletions gamemodes/terrortown/gamemode/client/cl_voice.lua
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@ end
-- @realm client
function VOICE.UpdatePlayerVoiceVolume(ply)
local mute = VOICE.GetPreferredPlayerVoiceMuted(ply)
if ply.SetMute then
ply:SetMute(mute)
if ply.SetMuted then
ply:SetMuted(mute)
end

local vol = VOICE.GetPreferredPlayerVoiceVolume(ply)
Expand Down
Loading