Skip to content

Commit 1762983

Browse files
committed
Fixed loadPolygon reference. Need to test decomp data next.
1 parent 95b3872 commit 1762983

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/physics/Body.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ Phaser.Physics.Body.prototype = {
994994
*/
995995
loadPolygon: function (key, object, options) {
996996

997-
var data = game.cache.getPhysicsData(key, object);
997+
var data = this.game.cache.getPhysicsData(key, object);
998998

999999
if (data && data.shape)
10001000
{

0 commit comments

Comments
 (0)