Add wandering sprites back to map via map objects
This commit is contained in:
@@ -757,7 +757,7 @@ var AISprite = function(game, x, y, key, frame) {
|
||||
'townsfolk-guard-1',
|
||||
'townsfolk-guard-2'
|
||||
];
|
||||
Phaser.Sprite.call(this, game, x, y, "townsfolk-male-1");
|
||||
Phaser.Sprite.call(this, game, x, y, null);
|
||||
game.physics.arcade.enable(this);
|
||||
this.body.collideWorldBounds = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user