Skip to content

Commit 42d5194

Browse files
Synchronize changes from 1.6 master branch [ci skip]
6ce2c38 Wait for Discord RPC consent before showing new nickname prompt (PR #4260, Fixes #4258)
2 parents 8179291 + 6ce2c38 commit 42d5194

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Client/core/CCore.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,8 @@ void CCore::DoPostFramePulse()
12731273
}
12741274
}
12751275

1276-
if (m_menuFrame >= 75 && m_requestNewNickname && GetLocalGUI()->GetMainMenu()->IsVisible() && !GetLocalGUI()->GetMainMenu()->IsFading())
1276+
if (m_menuFrame >= 75 && m_requestNewNickname && GetLocalGUI()->GetMainMenu()->IsVisible() && !GetLocalGUI()->GetMainMenu()->IsFading() &&
1277+
!GetLocalGUI()->GetMainMenu()->GetQuestionWindow()->IsVisible())
12771278
{
12781279
// Request a new nickname if we're waiting for one
12791280
GetLocalGUI()->GetMainMenu()->GetSettingsWindow()->RequestNewNickname();

0 commit comments

Comments
 (0)