mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Null-check in disposal of DatabasedKeyBindingInputManager
This commit is contained in:
@ -51,7 +51,9 @@ namespace osu.Game.Input.Bindings
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
store.KeyBindingChanged -= ReloadMappings;
|
||||
|
||||
if (store != null)
|
||||
store.KeyBindingChanged -= ReloadMappings;
|
||||
}
|
||||
|
||||
protected override void ReloadMappings() => KeyBindings = store.Query(ruleset?.ID, variant).ToList();
|
||||
|
Reference in New Issue
Block a user