mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 07:32:55 +08:00
Use .Equals
This commit is contained in:
parent
9c75df884f
commit
72eb082f91
@ -44,7 +44,7 @@ namespace osu.Game.Overlays.KeyConfiguration
|
||||
|
||||
foreach (Enum v in Enum.GetValues(actionType))
|
||||
{
|
||||
Add(new KeyBindingRow(v, bindings.Where(b => (int)b.Action == (int)(object)v)));
|
||||
Add(new KeyBindingRow(v, bindings.Where(b => b.Action.Equals((int)(object)v))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user