Ver código fonte

Apply suggestion from @hooperk

hooperk 3 meses atrás
pai
commit
7b651e0578
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      Assets/Scripts/CardEffect/ST20/Yellow/ST20_06.cs

+ 2 - 2
Assets/Scripts/CardEffect/ST20/Yellow/ST20_06.cs

@@ -266,8 +266,8 @@ namespace DCGO.CardEffects.ST20
                         {
                             Permanent permanent = CardEffectCommons.GetPermanentFromHashtable(hashtable1);
 
-                            if (permanent != null)
-                                if (MyDigimonAdventurePlayedDigid(permanent)) return false;
+                            if (permanent != null && MyDigimonAdventurePlayedDigid(permanent))
+                                return false;
                         }
 
                         etbPermanents = etbPermanents.Filter(MyDigimonAdventurePlayedDigid);