Remove non-smoke key bindings on "Relax" mod instead

This commit is contained in:
Salman Ahmed
2022-10-09 17:14:16 +03:00
parent c89a55043e
commit 2d4f390372
4 changed files with 27 additions and 11 deletions

View File

@ -230,9 +230,9 @@ namespace osu.Game.Rulesets.UI
{
}
protected override void ReloadMappings()
protected override void ReloadMappings(IQueryable<RealmKeyBinding> realmKeyBindings)
{
base.ReloadMappings();
base.ReloadMappings(realmKeyBindings);
KeyBindings = KeyBindings.Where(b => RealmKeyBindingStore.CheckValidForGameplay(b.KeyCombination)).ToList();
}