fixed tap trial bug

This commit is contained in:
Rapandrasmus 2023-12-05 20:15:21 +01:00
parent d35e57249e
commit 09dc90150f

View file

@ -443,14 +443,14 @@ namespace HeavenStudio.Games
private void MissJump(PlayerActionEvent caller) private void MissJump(PlayerActionEvent caller)
{ {
player.JumpTapMiss(false); player.JumpTapMiss(false);
if (giraffe.IsAnimationNotPlaying()) giraffe.DoScaledAnimationAsync("Miss", 0.5f); if (giraffe.IsAnimationNotPlaying() && currentAnim != GiraffeAnimation.Exit) giraffe.DoScaledAnimationAsync("Miss", 0.5f);
ResetScroll(); ResetScroll();
} }
private void MissJumpFinal(PlayerActionEvent caller) private void MissJumpFinal(PlayerActionEvent caller)
{ {
player.JumpTapMiss(true); player.JumpTapMiss(true);
if (giraffe.IsAnimationNotPlaying()) giraffe.DoScaledAnimationAsync("Miss", 0.5f); if (giraffe.IsAnimationNotPlaying() && currentAnim != GiraffeAnimation.Exit) giraffe.DoScaledAnimationAsync("Miss", 0.5f);
ResetScroll(); ResetScroll();
} }