diff --git a/moonlight/src/AISprite.js b/moonlight/src/AISprite.js index 90060e8..e61699e 100644 --- a/moonlight/src/AISprite.js +++ b/moonlight/src/AISprite.js @@ -393,7 +393,9 @@ var AISprite = function(game, x, y, key, frame) { console.log(this.target); addState(this, STATE_RUNNINGTOLIGHT); } else { - this.setAwarenessEffect(STATE_RELIEVED); + this.awareness_timer.stop(); + this.awareness_change_enabled = true; + this.setAwarenessEffect(STATE_LOSTHIM); return; } }