simplify. Don't separate "next" and "cancel" as much: to cancel, set the next screen to PREV_SCREEN, and use SM_GoToNextScreen.
This commit is contained in:
@@ -2500,6 +2500,8 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
|
||||
|
||||
GAMESTATE->CancelStage();
|
||||
|
||||
m_sNextScreen = GetPrevScreen();
|
||||
|
||||
if( AdjustSync::IsSyncDataChanged() )
|
||||
ScreenSaveSync::PromptSaveSync( SM_GoToPrevScreen );
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user