Jelajahi Sumber

Ensure Overflow occurs when card sent straight to security from sources

hooperk 1 bulan lalu
induk
melakukan
1bd3953d00
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      Assets/Scripts/Script/CardObjectController.cs

+ 2 - 0
Assets/Scripts/Script/CardObjectController.cs

@@ -977,6 +977,8 @@ public class CardObjectController : MonoBehaviour
     {
         if (!cardSource.Owner.SecurityCards.Contains(cardSource))
         {
+            yield return ContinuousController.instance.StartCoroutine(new AceOverflowClass(new List<CardSource>() { cardSource }).Overflow());
+            
             yield return ContinuousController.instance.StartCoroutine(RemoveFromAllArea(cardSource));
 
             if (cardSource.IsDigiEgg)