Skip to content

Commit cbc493d

Browse files
committed
MatterTileBody bug fix: tile -> this.tile
1 parent 801d2e9 commit cbc493d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/physics/matter-js/MatterTileBody.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ var MatterTileBody = new Class({
283283
destroy: function ()
284284
{
285285
this.removeBody();
286-
tile.physics.matterBody = undefined;
286+
this.tile.physics.matterBody = undefined;
287287
}
288288
});
289289

0 commit comments

Comments
 (0)