mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Update Polygon.js
This commit is contained in:
parent
a53676a924
commit
6b85dbd6a9
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ Phaser.Polygon.prototype = {
|
||||||
var p = new PIXI.Point(points[i], points[i + 1]);
|
var p = new PIXI.Point(points[i], points[i + 1]);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
else if (Array.isArray(points[i])
|
else if (Array.isArray(points[i]))
|
||||||
{
|
{
|
||||||
var p = new PIXI.Point(points[i][0], points[i][1]);
|
var p = new PIXI.Point(points[i][0], points[i][1]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue