1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 11:42:54 +08:00

Fix nullref

This commit is contained in:
smoogipoo 2018-08-23 15:21:36 +09:00
parent c7db407832
commit 90ebabd2db

View File

@ -57,7 +57,8 @@ namespace osu.Game.Skinning
{
base.Dispose(isDisposing);
skin.SourceChanged -= onChange;
if (skin != null)
skin.SourceChanged -= onChange;
}
}
}