Explorar el Código

Merge pull request #1435 from DCGO2/hooperk-on-deletion

Do not prevent inherited on deletions from activating
x89rt2 hace 3 meses
padre
commit
b8fa5a97f3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Assets/Scripts/Script/ICardEffect.cs

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

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