Skip to content

Commit

Permalink
gate more adjust sync prompts in gameplay behind a playlist course check
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jun 2, 2017
1 parent 4bd00d1 commit 8fb457b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ScreenGameplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2538,7 +2538,7 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )

m_sNextScreen = GetPrevScreen();

if( AdjustSync::IsSyncDataChanged() )
if( AdjustSync::IsSyncDataChanged() && SONGMAN->playlistcourse != "")
ScreenSaveSync::PromptSaveSync( SM_GoToPrevScreen );
else
HandleScreenMessage( SM_GoToPrevScreen );
Expand All @@ -2551,7 +2551,7 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
if( GAMESTATE->m_SongOptions.GetCurrent().m_bSaveReplay )
SaveReplay();

if( AdjustSync::IsSyncDataChanged() )
if( AdjustSync::IsSyncDataChanged() && SONGMAN->playlistcourse != "")
ScreenSaveSync::PromptSaveSync( SM_GoToNextScreen );
else
HandleScreenMessage( SM_GoToNextScreen );
Expand Down

0 comments on commit 8fb457b

Please sign in to comment.