1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 10:12:53 +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
commit 89c2eb539e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();
}
}
}