mirror of
https://github.com/ppy/osu.git
synced 2026-05-24 01:14:51 +08:00
Fix nullref
This commit is contained in:
@@ -57,7 +57,8 @@ namespace osu.Game.Skinning
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
skin.SourceChanged -= onChange;
|
||||
if (skin != null)
|
||||
skin.SourceChanged -= onChange;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user