Skip to content

Commit 6b85dbd

Browse files
committed
Update Polygon.js
1 parent a53676a commit 6b85dbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/geom/Polygon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Phaser.Polygon.prototype = {
197197
var p = new PIXI.Point(points[i], points[i + 1]);
198198
i++;
199199
}
200-
else if (Array.isArray(points[i])
200+
else if (Array.isArray(points[i]))
201201
{
202202
var p = new PIXI.Point(points[i][0], points[i][1]);
203203
}

0 commit comments

Comments
 (0)