People keep chasing the guards even after touching the light
This commit is contained in:
@@ -385,6 +385,7 @@ var AISprite = function(game, x, y, key, frame) {
|
||||
this.target = nearestInGroup(this, aiSprites, "townsfolk-guard");
|
||||
} else {
|
||||
this.setAwarenessEffect(STATE_RELIEVED);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if ( this.target !== null &&
|
||||
|
||||
Reference in New Issue
Block a user