From 8ec2ea6d5ec984122733062333b3af193c4dcea3 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Wed, 18 Jun 2014 16:44:01 -0700 Subject: [PATCH] Show motion animations dammit --- moonlight/js/moonlight-skulk.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index b701fc9..4a91005 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -1009,9 +1009,9 @@ var AISprite = function(game, x, y, key, frame) { } else if ( hasState(this, STATE_FACE_RIGHT) ) { setMovingState(this, STATE_FACE_DOWN); } - this._object.animations.stop(); - this._object.animations.play("bipedrun" + spriteFacing(this._object)); - this._object.animations.stop(); + this.animations.stop(); + this.animations.play("bipedrun" + spriteFacing(this._object)); + this.animations.stop(); this.rotation_timer.stop(); this.rotation_timer = null; }