Selaa lähdekoodia

Apply suggestion from @hooperk

hooperk 3 kuukautta sitten
vanhempi
sitoutus
7b651e0578
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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);