mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:52:55 +08:00
Attempt bumping inspectcode
to fix remaining inspection
This commit is contained in:
parent
4ed794e434
commit
e018a6d6a5
@ -9,7 +9,7 @@
|
||||
]
|
||||
},
|
||||
"jetbrains.resharper.globaltools": {
|
||||
"version": "2020.3.2",
|
||||
"version": "2021.2.2",
|
||||
"commands": [
|
||||
"jb"
|
||||
]
|
||||
|
@ -106,9 +106,8 @@ namespace osu.Game.Stores
|
||||
var rulesets = realm.All<RealmRuleset>();
|
||||
|
||||
List<Ruleset> instances = loadedAssemblies.Values
|
||||
.Select(r => Activator.CreateInstance(r) as Ruleset)
|
||||
.Where(r => r != null)
|
||||
.Cast<Ruleset>()
|
||||
.Select(Activator.CreateInstance)
|
||||
.OfType<Ruleset>()
|
||||
.ToList();
|
||||
|
||||
// add all legacy rulesets first to ensure they have exclusive choice of primary key.
|
||||
|
Loading…
Reference in New Issue
Block a user