mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:47:29 +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))
|
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