Closed bunnyhero closed 10 years ago
Phaser.Physics.Arcade.intersects() is supposed to return a boolean. A result is calculated (and stored in result), but is never actually returned by the function. The return value is always undefined.
Phaser.Physics.Arcade.intersects()
result
undefined
Wrong branch
Phaser.Physics.Arcade.intersects()
is supposed to return a boolean. A result is calculated (and stored inresult
), but is never actually returned by the function. The return value is alwaysundefined
.