diff --git a/Extras/PlatinumTiming/MU3/patch_UIResultTechScore.cs b/Extras/PlatinumTiming/MU3/patch_UIResultTechScore.cs index 4f3b4d8..f128f4f 100644 --- a/Extras/PlatinumTiming/MU3/patch_UIResultTechScore.cs +++ b/Extras/PlatinumTiming/MU3/patch_UIResultTechScore.cs @@ -2,7 +2,6 @@ using MU3.Game; using MU3.Sequence; using MU3.Util; -using System.Collections; using UnityEngine; namespace MU3; @@ -10,8 +9,7 @@ namespace MU3; class patch_UIResultTechScore: UIResultTechScore { private MU3UICounter counterFast_; private MU3UICounter counterLate_; - private Animator animator_; - private static readonly int State_TechnicalScore_Loop; + private void cloneCounter(MU3UICounter counter, Color color, int value) { var otherValue = counter.CounterAsInt; var offset = 12; @@ -52,13 +50,9 @@ class patch_UIResultTechScore: UIResultTechScore { ); } - private extern IEnumerator orig_showPlatinumScore(PlayInfo playInfo); - - private IEnumerator showPlatinumScore(PlayInfo playInfo) { - StartCoroutine(orig_showPlatinumScore(playInfo)); - while(!AnimatorState.stateEquals(animator_, State_TechnicalScore_Loop)) { - yield return null; - } + private extern void orig_drawTimingInclination(int numNotesFast, int numNotesLate); + private void drawTimingInclination(int numNotesFast, int numNotesLate) { + orig_drawTimingInclination(numNotesFast, numNotesLate); drawCounters(); } }