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