From 1b09f86bb033f7fecd7d26a7e3df94e493bfff00 Mon Sep 17 00:00:00 2001
From: Manuel Herrmann <it@icetruck.de>
Date: Wed, 14 Oct 2015 13:30:56 +0200
Subject: [PATCH] animate fix

---
 registration-system/view/signups/game1/js/character.js | 2 +-
 registration-system/view/signups/game1/js/story.js     | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/registration-system/view/signups/game1/js/character.js b/registration-system/view/signups/game1/js/character.js
index 62d0ed0..c44392d 100644
--- a/registration-system/view/signups/game1/js/character.js
+++ b/registration-system/view/signups/game1/js/character.js
@@ -242,4 +242,4 @@ Char.prototype.setMoveTarget = function(x, y, onArrival, onArrivalParams) {
 
 Char.prototype.stopMovement = function() {
 	this.moveTarget = null;
-};
\ No newline at end of file
+};
diff --git a/registration-system/view/signups/game1/js/story.js b/registration-system/view/signups/game1/js/story.js
index 7a55770..c0a10f1 100644
--- a/registration-system/view/signups/game1/js/story.js
+++ b/registration-system/view/signups/game1/js/story.js
@@ -194,6 +194,7 @@ Story.actions = {
                         condition: Environment.progress.inventory_money,
                         action: function () {
                             Environment.progress.inventory_ruestung = true;
+							if (Game.char) Game.char.animate(); // apply new visuals
                         }
                     }, {
                         message: 'Was? Spende? Ich hab\' nichts!',
@@ -1246,4 +1247,4 @@ Story.dialogueHelper = function (dialogue, context, done) {
             }
         }, speed.talk);
     }
-};
\ No newline at end of file
+};
-- 
GitLab