1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 09:02:58 +08:00

Move target field outside of Run usage

Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
Dean Herbert 2022-01-22 12:02:44 +09:00 committed by GitHub
parent b23f4674b1
commit 7025191fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
List<RealmKeyBinding> bindings = null;
realmFactory.Run(realm => bindings = realm.All<RealmKeyBinding>().Where(b => b.RulesetName == rulesetName && b.Variant == variant).Detach());
bindings = realmFactory.Run(realm => realm.All<RealmKeyBinding>().Where(b => b.RulesetName == rulesetName && b.Variant == variant).Detach());
foreach (var defaultGroup in Defaults.GroupBy(d => d.Action))
{