mirror of
https://git.revela.dev/itsRevela/LCE-Revelations.git
synced 2026-05-21 19:24:55 +00:00
feat: cancel join
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user