mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Add missing rulesetID
check for global action matching
This commit is contained in:
parent
d06e52505a
commit
d5a1524eb0
@ -32,7 +32,7 @@ namespace osu.Game.Input
|
|||||||
|
|
||||||
using (var context = realmFactory.GetForRead())
|
using (var context = realmFactory.GetForRead())
|
||||||
{
|
{
|
||||||
foreach (var action in context.Realm.All<RealmKeyBinding>().Where(b => (GlobalAction)b.ActionInt == globalAction))
|
foreach (var action in context.Realm.All<RealmKeyBinding>().Where(b => b.RulesetID == null && (GlobalAction)b.ActionInt == globalAction))
|
||||||
{
|
{
|
||||||
string str = action.KeyCombination.ReadableString();
|
string str = action.KeyCombination.ReadableString();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user