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:
parent
c8a64c5950
commit
b58ba5f5f1
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user