1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-05 17:02:58 +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); Refresh(ref dbKeyBinding);
context.Update(dbKeyBinding); dbKeyBinding.KeyCombination = keyBinding.KeyCombination;
context.SaveChanges(); context.SaveChanges();
KeyBindingChanged?.Invoke(); KeyBindingChanged?.Invoke();