mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Merge #2143
2143: Don't push notification when active r=Ryozuki a=ardadem In the game we already have highlighted text and sounds, we don't need to bother with notifications. Co-authored-by: Arda Demir <ddmirarda@gmail.com>
This commit is contained in:
commit
6fe6ff70b1
|
@ -3786,7 +3786,7 @@ void CClient::LoadFont()
|
|||
|
||||
void CClient::Notify(const char *pTitle, const char *pMessage)
|
||||
{
|
||||
if(!g_Config.m_ClShowNotifications)
|
||||
if(m_pGraphics->WindowActive() || !g_Config.m_ClShowNotifications)
|
||||
return;
|
||||
|
||||
NotificationsNotify(pTitle, pMessage);
|
||||
|
|
Loading…
Reference in a new issue