mirror of
https://github.com/photonstorm/phaser
synced 2024-11-30 00:21:04 +00:00
parent
0b903bf792
commit
78771d875b
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