mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Add missing CurrentSkin
null check in DHO disposal
This commit is contained in:
parent
04413f1634
commit
296761ade5
@ -716,7 +716,8 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
if (HitObject != null)
|
||||
HitObject.DefaultsApplied -= onDefaultsApplied;
|
||||
|
||||
CurrentSkin.SourceChanged -= skinSourceChanged;
|
||||
if (CurrentSkin != null)
|
||||
CurrentSkin.SourceChanged -= skinSourceChanged;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user