fix indents & headbop no longer overwrites confirm

This commit is contained in:
Merlin 2021-07-11 01:51:53 +02:00
parent c23f9738e3
commit a78d82e65f

View File

@ -93,12 +93,14 @@ class MenuCharacter extends FlxSprite
if (character == 'gf' || character == 'spooky') { if (character == 'gf' || character == 'spooky') {
danceLeft = !danceLeft; danceLeft = !danceLeft;
if (danceLeft) if (danceLeft)
animation.play(character + "-left", true); animation.play(character + "-left", true);
else else
animation.play(character + "-right", true); animation.play(character + "-right", true);
} else { } else {
//no spooky nor girlfriend so we do da normal animation //no spooky nor girlfriend so we do da normal animation
if (animation.name == "bfConfirm")
return;
animation.play(character, true); animation.play(character, true);
} }
if (LastFrame) { if (LastFrame) {