Skip to content

Commit

Permalink
don't use innocent colors for dead/spectating players
Browse files Browse the repository at this point in the history
  • Loading branch information
Earu authored May 22, 2024
1 parent f3f3852 commit 8a08e06
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 @@ -180,7 +180,7 @@ end
-- @realm client
function VOICE.GetVoiceColor(ply)
if VOICE.GetVoiceMode(ply) == VOICE_MODE_GLOBAL then
return INNOCENT.color
return NONE.color
else
return TEAMS[ply:GetTeam()].color
end
Expand Down

0 comments on commit 8a08e06

Please sign in to comment.