mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-09 04:12:57 +00:00
feat: cancel join
This commit is contained in:
parent
d191bee468
commit
b2f00d16e6
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue