From a78d82e65f475186c6387b489ca8554865c3d002 Mon Sep 17 00:00:00 2001 From: Merlin <30577208+SimplyMerlin@users.noreply.github.com> Date: Sun, 11 Jul 2021 01:51:53 +0200 Subject: [PATCH] fix indents & headbop no longer overwrites confirm --- source/MenuCharacter.hx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/MenuCharacter.hx b/source/MenuCharacter.hx index 92f0b6b..9d7a9bb 100644 --- a/source/MenuCharacter.hx +++ b/source/MenuCharacter.hx @@ -93,12 +93,14 @@ class MenuCharacter extends FlxSprite if (character == 'gf' || character == 'spooky') { danceLeft = !danceLeft; - if (danceLeft) - animation.play(character + "-left", true); - else - animation.play(character + "-right", true); + if (danceLeft) + animation.play(character + "-left", true); + else + animation.play(character + "-right", true); } else { //no spooky nor girlfriend so we do da normal animation + if (animation.name == "bfConfirm") + return; animation.play(character, true); } if (LastFrame) {