Sfoglia il codice sorgente

Merge pull request #705 from screx/screx/BT21_029_token-fix

Fix bug where multiple deletions cause this to miss the timing
x89rt2 5 mesi fa
parent
commit
a4c66f6695
1 ha cambiato i file con 1 aggiunte e 8 eliminazioni
  1. 1 8
      Assets/Scripts/CardEffect/BT21/Red/BT21_029_token.cs

+ 1 - 8
Assets/Scripts/CardEffect/BT21/Red/BT21_029_token.cs

@@ -52,14 +52,7 @@ namespace DCGO.CardEffects.Tokens
 
                 bool CanUseCondition(Hashtable hashtable)
                 {
-                    if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
-                    {
-                        if (CardEffectCommons.CanTriggerOnDeletion(hashtable, card))
-                        {
-                            return true;
-                        }
-                    }
-                    return false;
+                        return CardEffectCommons.CanTriggerOnDeletion(hashtable, card)
                 }
 
                 bool CanActivateCondition(Hashtable hashtable)