1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-12 04:12:56 +08:00

Fix key bindings switching order at random on consecutive "reset to defaults"

This commit is contained in:
Dean Herbert 2020-07-08 15:24:26 +09:00
parent 2afc436a30
commit 6c8b6f05f8

View File

@ -55,6 +55,9 @@ namespace osu.Game.Input
RulesetID = rulesetId, RulesetID = rulesetId,
Variant = variant Variant = variant
}); });
// required to ensure stable insert order (https://github.com/dotnet/efcore/issues/11686)
usage.Context.SaveChanges();
} }
} }
} }