Skip to content

Commit

Permalink
Update gamemodes/terrortown/gamemode/client/cl_voice.lua
Browse files Browse the repository at this point in the history
Co-authored-by: ruby0b <106119328+ruby0b@users.noreply.github.com>
  • Loading branch information
TimGoll and ruby0b committed Apr 15, 2024
1 parent cad99bb commit ba332b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamemodes/terrortown/gamemode/client/cl_voice.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ end
-- @return Color The color of the voice panel
-- @realm client
function VOICE.GetVoiceColor(ply)
if VOICE.GetVoiceMode(ply) then
if VOICE.GetVoiceMode(ply) == VOICE_MODE_GLOBAL then
return INNOCENT.color
else
return TEAMS[ply:GetTeam()].color
Expand Down

0 comments on commit ba332b3

Please sign in to comment.