From a623eb399669ba78b4edcefc40ea921eec295c8c Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 6 Feb 2018 05:26:30 -0300 Subject: [PATCH] Fix song sync --- src/AdjustSync.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/AdjustSync.cpp b/src/AdjustSync.cpp index d66490bbcb..09a40920dd 100644 --- a/src/AdjustSync.cpp +++ b/src/AdjustSync.cpp @@ -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(); }