瀏覽代碼

Ensure Overflow occurs when card sent straight to security from sources

hooperk 1 月之前
父節點
當前提交
1bd3953d00
共有 1 個文件被更改,包括 2 次插入0 次删除
  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)