Make the default NoteSkin a theme metric. That means we can't call GetNoteSkinNames() before the theme is loaded so split out the code to get the names of the the skins for a particular game.
This commit is contained in:
@@ -2712,9 +2712,7 @@ const Game* GameManager::GetGameFromIndex( int index ) const
|
||||
|
||||
bool GameManager::IsGameEnabled( const Game *pGame ) const
|
||||
{
|
||||
vector<RString> asNoteSkins;
|
||||
NOTESKIN->GetNoteSkinNames( pGame, asNoteSkins, false ); /* don't omit default */
|
||||
return asNoteSkins.size() > 0;
|
||||
return NOTESKIN->DoNoteSkinsExistForGame( pGame );
|
||||
}
|
||||
|
||||
int GameManager::StepsTypeToNumTracks( StepsType st )
|
||||
|
||||
Reference in New Issue
Block a user