Making townsfolk report you to a guard

This commit is contained in:
2014-06-19 19:59:58 -07:00
parent 23c747589a
commit d0c9036914

View File

@@ -1075,7 +1075,7 @@ var AISprite = function(game, x, y, key, frame) {
}
if ( this.target !== null ) {
if ( this.target.canSeeSprite(this) == true ) {
console.log("I can't see my target!");
console.log("My target can see me!");
this.path_tween_stop();
this.path_purge();
}