Преглед изворни кода

Add small delay after jogressing to resolve issues

hooperk пре 2 месеци
родитељ
комит
306ca491e7
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      Assets/Scripts/Script/CardController.cs

+ 5 - 0
Assets/Scripts/Script/CardController.cs

@@ -1551,6 +1551,11 @@ public class PlayPermanentClass
                     card.Owner.DigivolveCount_ThisTurn++;
                     card.Owner.DigivolveCount_ThisTurn++;
                     yield return ContinuousController.instance.StartCoroutine(new DrawClass(card.Owner, 1, null).Draw());
                     yield return ContinuousController.instance.StartCoroutine(new DrawClass(card.Owner, 1, null).Draw());
 
 
+                    if (isJogress)
+                    {
+                        yield return new WaitForEndOfFrame();
+                    }
+
                     if (_burstDigivolved)
                     if (_burstDigivolved)
                     {
                     {
                         if (permanent.TopCard != null)
                         if (permanent.TopCard != null)