mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 11:07:25 +08:00
Fix migration not checking combination properly
This commit is contained in:
parent
035e5a9613
commit
f8a13b0beb
@ -1203,7 +1203,7 @@ namespace osu.Game.Database
|
||||
var keyBindings = migration.NewRealm.All<RealmKeyBinding>();
|
||||
|
||||
var toggleFpsBind = keyBindings.FirstOrDefault(bind => bind.ActionInt == (int)GlobalAction.ToggleFPSDisplay);
|
||||
if (toggleFpsBind != null && toggleFpsBind.KeyCombination.Keys.SequenceEqual(new[] { InputKey.Control, InputKey.Shift, InputKey.F }))
|
||||
if (toggleFpsBind != null && toggleFpsBind.KeyCombination.Keys.SequenceEqual(new[] { InputKey.Shift, InputKey.Control, InputKey.F }))
|
||||
migration.NewRealm.Remove(toggleFpsBind);
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user