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:
parent
6f7ba55f80
commit
4ef80ee6c4
@ -76,7 +76,8 @@ namespace osu.Game.Input
|
||||
|
||||
Refresh(ref dbKeyBinding);
|
||||
|
||||
context.Update(dbKeyBinding);
|
||||
dbKeyBinding.KeyCombination = keyBinding.KeyCombination;
|
||||
|
||||
context.SaveChanges();
|
||||
|
||||
KeyBindingChanged?.Invoke();
|
||||
|
Loading…
Reference in New Issue
Block a user