mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09: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