mirror of
https://github.com/wassname/phaser.git
synced 2026-07-24 13:10:53 +08:00
Fixed loadPolygon reference. Need to test decomp data next.
This commit is contained in:
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user