Skip to content

Commit

Permalink
this really shouldn't be necessary... however... it will only help
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 30, 2018
1 parent 95bc1a6 commit 5ffb8aa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/SongManager.h
@@ -1,4 +1,4 @@
#ifndef SONGMANAGER_H
#ifndef SONGMANAGER_H
#define SONGMANAGER_H

class LoadingWindow;
Expand Down Expand Up @@ -72,7 +72,10 @@ class SongManager
// mina
Steps* GetStepsByChartkey(RString ck);
Song* GetSongByChartkey(RString ck);
bool IsChartLoaded(RString ck) { return SongsByKey.count(ck) == 1; }
bool IsChartLoaded(RString ck)
{
return SongsByKey.count(ck) == 1 && StepsByKey.count(ck) == 1; // shouldn't be necessary but apparently it is -mina
}

void ResetGroupColors();

Expand Down

0 comments on commit 5ffb8aa

Please sign in to comment.