mirror of
https://github.com/ppy/osu
synced 2025-01-04 21:30:08 +00: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