/// <summary> /// Fetches all maps, groups them into mapsets, sets them to allow them to be played. /// </summary> public static void OrderAndSetMapsets() { var maps = FetchAll(); if (ConfigManager.AutoLoadOsuBeatmaps.Value) { maps = maps.Concat(OtherGameMapDatabaseCache.Load()).ToList(); } var mapsets = MapsetHelper.ConvertMapsToMapsets(maps); MapManager.Mapsets = MapsetHelper.OrderMapsByDifficulty(MapsetHelper.OrderMapsetsByArtist(mapsets)); }
/// <summary> /// Fetches all maps, groups them into mapsets, sets them to allow them to be played. /// </summary> public static void OrderAndSetMapsets() { var maps = FetchAll(); if (ConfigManager.AutoLoadOsuBeatmaps.Value) { maps = maps.Concat(LoadOsuBeatmapDatabase()).ToList(); LoadedMapsFromOtherGames = true; } else { LoadedMapsFromOtherGames = false; } var mapsets = MapsetHelper.ConvertMapsToMapsets(maps); MapManager.Mapsets = MapsetHelper.OrderMapsByDifficulty(MapsetHelper.OrderMapsetsByArtist(mapsets)); }