Fixed loadPolygon reference. Need to test decomp data next.

This commit is contained in:
photonstorm
2014-02-19 17:09:01 +00:00
parent 95b3872508
commit 1762983bc0
+1 -1
View File
@@ -994,7 +994,7 @@ Phaser.Physics.Body.prototype = {
*/
loadPolygon: function (key, object, options) {
var data = game.cache.getPhysicsData(key, object);
var data = this.game.cache.getPhysicsData(key, object);
if (data && data.shape)
{