Update Polygon.js

This commit is contained in:
Samuel Hodge 2016-02-28 16:00:29 -05:00
parent a53676a924
commit 6b85dbd6a9

View file

@ -197,7 +197,7 @@ Phaser.Polygon.prototype = {
var p = new PIXI.Point(points[i], points[i + 1]);
i++;
}
else if (Array.isArray(points[i])
else if (Array.isArray(points[i]))
{
var p = new PIXI.Point(points[i][0], points[i][1]);
}