diff --git a/registration-system/view/signups/game1/js/character.js b/registration-system/view/signups/game1/js/character.js index 62d0ed00d595668f687bbe2cc72e0e4d8f0e5d2f..c44392dc187caed3779e3b719ad15d4c987c8165 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 7a55770a29e29078378c9d8eb1680290a46347bd..c0a10f1776191f8bc2ce444b95c985bbdecb35ae 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 +}; diff --git a/registration-system/view/signups/index.php b/registration-system/view/signups/index.php index 83e1b905d651dfa2f29589c0c07fdd93d9758250..995ff2f93221d94d82f6245b3f831ea78232e6fe 100644 --- a/registration-system/view/signups/index.php +++ b/registration-system/view/signups/index.php @@ -241,9 +241,8 @@ class SignupMethods { // check captcha elseif($check == "captcha"){ - if(isset($_SESSION['captcha']) && strtolower($tmp) == strtolower($_SESSION['captcha'])){ - unset($_SESSION['captcha']); - } else{ + unset($_SESSION['captcha']); + if(!(isset($_SESSION['captcha']) && strtolower($tmp) == strtolower($_SESSION['captcha']))) { array_push($errarr, $errmess); $datarr[$index] = ""; } @@ -280,4 +279,4 @@ class SignupMethods { } } } -} \ No newline at end of file +}