mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 22:35:53 +00:00
Changed casting for timemodifiers
This commit is contained in:
parent
efd6283487
commit
c318bd8c13
7 changed files with 15 additions and 18 deletions
|
|
@ -98,8 +98,7 @@ public partial class SpiralPattern : AttackPattern
|
|||
BulletScene = BulletScene,
|
||||
RotationOffset = angleOffset,
|
||||
Modifier = _modifier,
|
||||
TimeModifiers = ((_timeModifiers?.Where(mod => mod != null)) ?? Array.Empty<TimeModifier>()).Select(m =>
|
||||
m.Wrap()).ToList()
|
||||
TimeModifiers = _timeModifiers?.Where(mod => mod != null).ToList() ?? new List<TimeModifier>()
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue