Explorar o código

Do not prevent inherited on deletions from activating

hooperk hai 3 meses
pai
achega
26cd132d6b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
                     {