diff --git a/osu.Game/Overlays/OnScreenDisplay.cs b/osu.Game/Overlays/OnScreenDisplay.cs index d78bd744f4..7e64d09a65 100644 --- a/osu.Game/Overlays/OnScreenDisplay.cs +++ b/osu.Game/Overlays/OnScreenDisplay.cs @@ -160,12 +160,8 @@ namespace osu.Game.Overlays { if (configManager == null) throw new ArgumentNullException(nameof(configManager)); - var trackedSettings = configManager.CreateTrackedSettings(); - if (trackedSettings == null) - return; - if (!trackedConfigManagers.TryGetValue((source, configManager), out var existing)) - throw new InvalidOperationException($"{nameof(configManager)} is not registered."); + return; existing.Unload(); existing.SettingChanged -= display;