Closes #35 : Missed one .collide() reference
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user