mirror of https://github.com/ppy/osu
Fix key bindings switching order at random on consecutive "reset to defaults"
This commit is contained in:
parent
2afc436a30
commit
6c8b6f05f8
|
@ -55,6 +55,9 @@ private void insertDefaults(IEnumerable<KeyBinding> defaults, int? rulesetId = n
|
|||
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