From d1ded784cb30a7583e21217ff0281ee2b3dbbcd0 Mon Sep 17 00:00:00 2001 From: minenice55 Date: Wed, 8 Jun 2022 21:26:28 -0400 Subject: [PATCH] Fix Sheets issue 11 --- Assets/Scripts/Games/Global/Textbox.cs | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/Games/Global/Textbox.cs b/Assets/Scripts/Games/Global/Textbox.cs index c15776bbc..9628798d6 100644 --- a/Assets/Scripts/Games/Global/Textbox.cs +++ b/Assets/Scripts/Games/Global/Textbox.cs @@ -240,9 +240,18 @@ namespace HeavenStudio.Games.Global } else if (idolShown) { - IdolAnimator.Play("IdolHide", -1, 0); - IdolAnimator.speed = (1f / cond.pitchedSecPerBeat) * 0.5f; - idolShown = false; + if (prog < 1f) + { + IdolAnimator.Play("NoPose", -1, 0); + IdolAnimator.speed = 1; + idolShown = false; + } + else + { + IdolAnimator.Play("IdolHide", -1, 0); + IdolAnimator.speed = (1f / cond.pitchedSecPerBeat) * 0.5f; + idolShown = false; + } } } }