mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Fix bindings being cleared if multiple bindings for same action have the same combination
This actually seems to be the case in catch (dash is bound to shift twice). This is annoying but harmless, so let's work around it for now to avoid ruining users' configs.
This commit is contained in:
parent
3aae07d1ca
commit
828cedea33
@ -145,7 +145,7 @@ namespace osu.Game.Input
|
||||
|
||||
foreach (var group in lookup)
|
||||
{
|
||||
if (group.Count() <= 1)
|
||||
if (group.Select(kb => kb.Action).Distinct().Count() <= 1)
|
||||
continue;
|
||||
|
||||
foreach (var binding in group)
|
||||
|
Loading…
Reference in New Issue
Block a user