Skip to content

Commit 6ce2c38

Browse files
Wait for Discord RPC consent before showing new nickname prompt (PR #4260, Fixes #4258)
1 parent 64fd352 commit 6ce2c38

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)