Skip to content

Commit

Permalink
Attempt to fix missing song strings after cache changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Mar 4, 2019
1 parent a672e95 commit 1c7fa2d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Song.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,12 @@ Song::TidyUpData(bool from_cache, bool /* duringCache */)
// For blank args to FindFirstFilenameContaining. -Kyz
vector<RString> empty_list;


m_PreviewPath = GetSongAssetPath(m_PreviewFile, m_sSongDir);
if (m_PreviewPath.empty())
m_PreviewPath = m_sMusicPath;
m_sLyricsPath = GetSongAssetPath(m_sLyricsFile, m_sSongDir);
m_sPreviewVidPath = GetSongAssetPath(m_sPreviewVidFile, m_sSongDir);
// uhh this should like... not be like... this... -mina
m_sJacketPath = GetSongAssetPath(m_sJacketFile, m_sSongDir);
bool has_jacket = IsAFile(m_sJacketPath);
Expand Down

0 comments on commit 1c7fa2d

Please sign in to comment.