From cb60dd16d0b59ed725fdbe9a8d9718496ff4cde4 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Sun, 15 Jun 2014 22:16:37 -0700 Subject: [PATCH] Working on AI behaviors --- moonlight/js/moonlight-skulk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index 1bcb45f..c10fed6 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -930,7 +930,7 @@ var AISprite = function(game, x, y, key, frame) { } else { this.action_reportplayer(); } - } else if ( hasState(this, (STATE_CONCERNED | STATE_RELIEVED)) ) { + } else if ( hasState(this, (STATE_CONCERNED | STATE_LOSTHIM)) ) { this.action_huntplayer(); } else { this.action_wander();