From ce4f40e61e6ca5c45ccb52b957a21e6f8fac21cd Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Wed, 18 Jun 2014 16:33:49 -0700 Subject: [PATCH] Stop chasing me if you can't see me at the end of your path --- 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 151f75c..dd10992 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -1029,7 +1029,7 @@ var AISprite = function(game, x, y, key, frame) { if ( this.rotation_timer == null ) { console.log("I can't see the player - turning so I can"); this.rotation_timer = game.time.create(false); - timerev = this.rotation_timer.add(500, this.turnFaceRight, this); + timerev = this.rotation_timer.add(250, this.turnFaceRight, this); this.rotation_timer.start() } }