Add other NPCs back in

This commit is contained in:
2014-06-19 08:23:50 -07:00
parent bda110a58f
commit b17493942b

View File

@@ -1011,8 +1011,10 @@ var AISprite = function(game, x, y, key, frame) {
this.animations.stop();
this.animations.play("bipedrun" + spriteFacing(this));
this.animations.stop();
this.rotation_timer.stop();
this.rotation_timer = null;
if ( this.rotation_timer !== null ) {
this.rotation_timer.stop();
this.rotation_timer = null;
}
}
this.action_chaseplayer = function()