From 75147909211c09144c686cf927270ba0387127ee Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Wed, 18 Jun 2014 08:51:51 -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 16b9ede..e9f2800 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -956,7 +956,7 @@ var AISprite = function(game, x, y, key, frame) { this.path_tweens.push(tween); tween.to( {x: (pl.end.x), y: (pl.end.y)}, - (TWEEN_DURATION_PERPIXEL_WALKING * pl.length), + (TWEEN_DURATION_PERPIXEL_RUNNING * pl.length), null); tween.onStart.add(function() { setMovingState(this._object, this.movingstate);