1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 17:02:57 +08:00

Fix potential incorrect update in KeyBindingStore

This commit is contained in:
Dean Herbert 2017-10-25 23:21:47 +09:00
parent 6f7ba55f80
commit 4ef80ee6c4

View File

@ -76,7 +76,8 @@ namespace osu.Game.Input
Refresh(ref dbKeyBinding);
context.Update(dbKeyBinding);
dbKeyBinding.KeyCombination = keyBinding.KeyCombination;
context.SaveChanges();
KeyBindingChanged?.Invoke();