mirror of
https://github.com/photonstorm/phaser
synced 2024-09-21 15:01:57 +00:00
commit
fe960b79d7
1 changed files with 3 additions and 1 deletions
|
@ -950,7 +950,9 @@ Phaser.Physics.P2.Body.prototype = {
|
|||
|
||||
options = options || {};
|
||||
|
||||
points = Array.prototype.slice.call(arguments, 1);
|
||||
if (!Array.isArray(points)) {
|
||||
points = Array.prototype.slice.call(arguments, 1);
|
||||
}
|
||||
|
||||
var path = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue