1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 07:49:54 +08:00

Merge pull request #9450 from peppy/ensure-stable-key-binding-insert-order

Fix key bindings switching order at random on consecutive "reset to defaults"
This commit is contained in:
Dan Balasescu
2020-07-08 17:15:41 +09:00
committed by GitHub
Unverified
+3
View File
@@ -55,6 +55,9 @@ namespace osu.Game.Input
RulesetID = rulesetId,
Variant = variant
});
// required to ensure stable insert order (https://github.com/dotnet/efcore/issues/11686)
usage.Context.SaveChanges();
}
}
}