mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-21 01:54:19 +00:00
Merge #1920
1920: Don't highlight window when playing demo (fixes #1919) r=Learath2 a=def- Co-authored-by: Dennis Felsing <dennis@felsin9.de>
This commit is contained in:
commit
ef32fc4bed
|
@ -700,7 +700,7 @@ void CChat::AddLine(int ClientID, int Team, const char *pLine)
|
|||
{
|
||||
// No sound yet
|
||||
}
|
||||
else if(Highlighted)
|
||||
else if(Highlighted && Client()->State() != IClient::STATE_DEMOPLAYBACK)
|
||||
{
|
||||
if(Now-m_aLastSoundPlayed[CHAT_HIGHLIGHT] >= time_freq()*3/10)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue