mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 13:02: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:
commit
89c2eb539e
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user