1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:42:54 +08:00

Use .Equals

This commit is contained in:
Dean Herbert 2017-08-16 01:14:37 +09:00
parent 9c75df884f
commit 72eb082f91

View File

@ -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))));
}
}
}