mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:03:08 +08:00
Add null check
This commit is contained in:
parent
f3f634e969
commit
67135ce3db
@ -186,7 +186,8 @@ namespace osu.Game.Skinning
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
CurrentSkin.SourceChanged -= skinChangedImmediate;
|
||||
if (CurrentSkin != null)
|
||||
CurrentSkin.SourceChanged -= skinChangedImmediate;
|
||||
}
|
||||
|
||||
#region Re-expose AudioContainer
|
||||
|
Loading…
Reference in New Issue
Block a user