mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 05:32:55 +08:00
Add missing null check
This commit is contained in:
parent
f5842e7587
commit
b4225804ed
@ -540,7 +540,8 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
keyCombinationProvider.KeymapChanged -= updateKeyCombinationText;
|
||||
if (keyCombinationProvider != null)
|
||||
keyCombinationProvider.KeymapChanged -= updateKeyCombinationText;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user