Merge pull request #1002 from petarov/bugfix_883

Fix issue #883
This commit is contained in:
Richard Davey 2014-07-14 12:16:08 +01:00
commit fe960b79d7

View file

@ -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 = [];