diff --git a/moonlight/src/AISprite.js b/moonlight/src/AISprite.js index e2fb9bf..05bddf1 100644 --- a/moonlight/src/AISprite.js +++ b/moonlight/src/AISprite.js @@ -396,6 +396,7 @@ var AISprite = function(game, x, y, key, frame) { this.awareness_timer.stop(); this.awareness_change_enabled = true; this.setAwarenessEffect(STATE_LOSTHIM); + this.target = null; return; } }