Add null check

This commit is contained in:
iiSaLMaN 2019-08-28 15:39:45 +03:00
parent 2f3fb8cf88
commit 3d62003382

View File

@ -44,7 +44,7 @@ namespace osu.Game.Skinning
{
looping = value;
channels.ForEach(c => c.Looping = looping);
channels?.ForEach(c => c.Looping = looping);
}
}