x89rt2 2 сар өмнө
parent
commit
6d1db8a2a7

+ 11 - 15
Assets/Scripts/CardEffect/BT25/Black/BT25_071.cs

@@ -105,7 +105,6 @@ namespace DCGO.CardEffects.BT25
                         && cardSource.GetCostItself <= 4
                         && cardSource.EqualsTraits("TS");
                 }
-                List<CardSource> selectedCards = new List<CardSource>();
 
                 yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.SimplifiedRevealDeckTopCardsAndSelect(
                     revealCount: 3,
@@ -126,20 +125,17 @@ namespace DCGO.CardEffects.BT25
 
                 IEnumerator SelectCardCoroutine(CardSource cardSource)
                 {
-                    selectedCards.Add(cardSource);
-                    yield return null;
-                }
-
-                if (selectedCards.Count > 0)
-                {
-                    yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayPermanentCards(
-                    cardSources: selectedCards,
-                    activateClass: activateClass,
-                    payCost: false,
-                    isTapped: false,
-                    root: SelectCardEffect.Root.Library,
-                    activateETB: true));
-                }
+                    if (cardSource != null)
+                    {
+                        yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayPermanentCards(
+                        cardSources: new List<CardSource> { cardSource },
+                        activateClass: activateClass,
+                        payCost: false,
+                        isTapped: false,
+                        root: SelectCardEffect.Root.Library,
+                        activateETB: true));
+                    }
+                }               
             }
             #endregion