Skip to content

Commit

Permalink
Fix song sync
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Feb 10, 2018
1 parent 4def248 commit a623eb3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/AdjustSync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ void AdjustSync::SaveSyncChanges()
}
else
{
//Hack: Otherwise it doesnt work (files created are called /.sm and /.ssc)
auto tmp = GAMESTATE->m_pCurSong->m_SongTiming;
GAMESTATE->m_pCurSong->ReloadFromSongDir();
GAMESTATE->m_pCurSong->m_SongTiming = tmp;

GAMESTATE->m_pCurSong->Save();
GAMESTATE->m_pCurSong->ReloadFromSongDir();
}
Expand Down

0 comments on commit a623eb3

Please sign in to comment.