1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 03:02:54 +08:00

Just give in to silly code quality inspection

This commit is contained in:
Dean Herbert 2024-07-10 23:02:19 +09:00
parent c8a64c5950
commit b58ba5f5f1
No known key found for this signature in database

View File

@ -29,11 +29,12 @@ namespace osu.Game.Screens.Edit.Setup
{
var ruleset = beatmap.BeatmapInfo.Ruleset.CreateInstance();
// ReSharper disable once UseObjectOrCollectionInitializer
var sectionsEnumerable = new List<SetupSection>();
List<SetupSection> sectionsEnumerable =
[
new ResourcesSection(),
new MetadataSection()
];
sectionsEnumerable.Add(new ResourcesSection());
sectionsEnumerable.Add(new MetadataSection());
sectionsEnumerable.AddRange(ruleset.CreateEditorSetupSections());
sectionsEnumerable.Add(new DesignSection());