mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 11:42:54 +08:00
Fix nullref
This commit is contained in:
parent
c7db407832
commit
90ebabd2db
@ -57,7 +57,8 @@ namespace osu.Game.Skinning
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
skin.SourceChanged -= onChange;
|
||||
if (skin != null)
|
||||
skin.SourceChanged -= onChange;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user