mirror of
https://github.com/ppy/osu.git
synced 2026-06-09 17:24:04 +08:00
Use .Equals
This commit is contained in:
@@ -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))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user