Describe the bug
When creating a Sequence with .play({ preload: true }) and .file() calls with an array of strings as the parameter, the sequence fails.
To Reproduce
// Works
new Sequence()
.effect()
.file("jb2a.antilife_shell.blue_no_circle") // <---
.attachTo(_token)
.play({preload: true}) // <---
// Works
new Sequence()
.effect()
.file( [ "jb2a.antilife_shell.blue_no_circle" ] ) // <---
.attachTo(_token)
.play() // <---
// Doesnt work
new Sequence()
.effect()
.file( [ "jb2a.antilife_shell.blue_no_circle" ] ) // <---
.attachTo(_token)
.play({preload: true}) // <---
Expected behavior
That Sequencer picks one of the animations at random and then passes that choice to the preloader.
Describe the bug When creating a Sequence with
.play({ preload: true })
and.file()
calls with an array of strings as the parameter, the sequence fails.To Reproduce
Expected behavior That Sequencer picks one of the animations at random and then passes that choice to the preloader.