1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 18:32:54 +08:00

Fix update method not switched across to using Guid

This commit is contained in:
Dean Herbert 2021-04-26 17:10:28 +09:00
parent 8961203f08
commit 61f3cc9bc2

View File

@ -337,7 +337,7 @@ namespace osu.Game.Overlays.KeyBinding
{ {
using (var usage = realmFactory.GetForWrite()) using (var usage = realmFactory.GetForWrite())
{ {
var binding = usage.Realm.Find<RealmKeyBinding>(((IHasGuidPrimaryKey)button.KeyBinding).ID.ToString()); var binding = usage.Realm.Find<RealmKeyBinding>(((IHasGuidPrimaryKey)button.KeyBinding).ID);
binding.KeyCombinationString = button.KeyBinding.KeyCombinationString; binding.KeyCombinationString = button.KeyBinding.KeyCombinationString;
usage.Commit(); usage.Commit();