mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Update existing usages to use the main realm context where applicable
This commit is contained in:
@ -165,8 +165,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
|
||||
if (Hotkey != null)
|
||||
{
|
||||
var realm = realmFactory.Get();
|
||||
realmKeyBinding = realm.All<RealmKeyBinding>().FirstOrDefault(rkb => rkb.RulesetID == null && rkb.Action == (int)Hotkey.Value);
|
||||
realmKeyBinding = realmFactory.Context.All<RealmKeyBinding>().FirstOrDefault(rkb => rkb.RulesetID == null && rkb.Action == (int)Hotkey.Value);
|
||||
|
||||
if (realmKeyBinding != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user