Type bug in implementation of #35

This commit is contained in:
2014-07-05 12:30:25 -07:00
parent f42861847c
commit 0572550d38
2 changed files with 7 additions and 2 deletions

View File

@@ -350,7 +350,7 @@ var AISprite = function(game, x, y, key, frame) {
if ( hasBeenReset == true )
return;
if ( game.physics.arcade.overlap(spr, this) ) {
var last = this.path[this.path.length() - 1];
var last = this.path[this.path.length - 1];
this.path_tween_stop();
hasBeenReset = true;
}