diff --git a/moonlight/src/AISprite.js b/moonlight/src/AISprite.js index 34ef629..8dcc037 100644 --- a/moonlight/src/AISprite.js +++ b/moonlight/src/AISprite.js @@ -349,7 +349,7 @@ var AISprite = function(game, x, y, key, frame) { aiSprites.forEach(function(spr) { if ( hasBeenReset == true ) return; - if ( game.physics.arcade.collide(spr, this) ) { + if ( game.physics.arcade.overlap(spr, this) ) { var last = this.path[this.path.length() - 1]; this.path_tween_stop(); hasBeenReset = true;