feat: cancel join

This commit is contained in:
neoapps-dev
2026-04-08 11:47:25 +03:00
parent d191bee468
commit b2f00d16e6
2 changed files with 5 additions and 0 deletions

View File

@@ -214,6 +214,7 @@ private:
int GetJoiningReadyPercentage();
bool m_bLastDisconnectWasLostRoomOnly;
bool m_bFullSessionMessageOnNextSessionChange;
bool m_bCancelRequested;
#if defined __PS3__ || defined __PSVITA__ || defined __ORBIS__
bool m_bSignedOutofPSN;
#endif

View File

@@ -287,7 +287,11 @@ void UIScene_FullscreenProgress::handleInput(int iPad, int key, bool repeat, boo
case ACTION_MENU_CANCEL:
if( pressed && m_cancelFunc != nullptr && !m_bWasCancelled )
{
m_cancelText = -1;
updateTooltips();
m_bWasCancelled = true;
m_cancelFunc( m_cancelFuncParam );
}
break;