Skip to content

Commit

Permalink
dont ask to adjust sync during playlist course runs
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 22, 2017
1 parent a29333c commit 30ab098
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/AdjustSync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include "PrefsManager.h"
#include "ScreenManager.h"
#include "Foreach.h"
#include "SongManager.h"

vector<TimingData> AdjustSync::s_vpTimingDataOriginal;
float AdjustSync::s_fGlobalOffsetSecondsOriginal = 0.0f;
Expand Down Expand Up @@ -83,7 +84,10 @@ void AdjustSync::ResetAutosync()

bool AdjustSync::IsSyncDataChanged()
{
// Can't sync in course modes
// Can't sync in course mode :joy_cat: -mina
if(SONGMAN->playlistcourse == "")
return false;

vector<RString> vs;
AdjustSync::GetSyncChangeTextGlobal( vs );
AdjustSync::GetSyncChangeTextSong( vs );
Expand Down

0 comments on commit 30ab098

Please sign in to comment.