mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 03:22:54 +08:00
Add null check
This commit is contained in:
parent
2f3fb8cf88
commit
3d62003382
@ -44,7 +44,7 @@ namespace osu.Game.Skinning
|
||||
{
|
||||
looping = value;
|
||||
|
||||
channels.ForEach(c => c.Looping = looping);
|
||||
channels?.ForEach(c => c.Looping = looping);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user