Przeglądaj źródła

Do not prevent inherited on deletions from activating

hooperk 3 miesięcy temu
rodzic
commit
26cd132d6b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Assets/Scripts/Script/ICardEffect.cs

+ 1 - 1
Assets/Scripts/Script/ICardEffect.cs

@@ -388,7 +388,7 @@ public abstract class ICardEffect
         {
             if (EffectSourceCard != null)
             {
-                if (EffectSourceCard.PermanentOfThisCard() != null)
+                if (EffectSourceCard.PermanentOfThisCard() != null && !IsOnDeletion)
                 {
                     if (IsInheritedEffect || IsLinkedEffect)
                     {