Procházet zdrojové kódy

Apply suggestion from @hooperk

hooperk před 3 měsíci
rodič
revize
7b651e0578

+ 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);