mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
No sound when you whisper, as some people are afraid of it
This commit is contained in:
parent
bf4ba56b05
commit
89556e184b
|
@ -416,7 +416,7 @@ void CChat::AddLine(int ClientID, int Team, const char *pLine)
|
|||
m_aLastSoundPlayed[CHAT_HIGHLIGHT] = Now;
|
||||
}
|
||||
}
|
||||
else
|
||||
else if(Team != 2)
|
||||
{
|
||||
if(Now-m_aLastSoundPlayed[CHAT_CLIENT] >= time_freq()*3/10)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue