Browse Source

changes cardnames.contains to containscardname

mbunch_kascope 2 years ago
parent
commit
ec67e8e3cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Assets/CardEffect/BT16/Black/Dorugoramon_BT16_064.cs

+ 1 - 1
Assets/CardEffect/BT16/Black/Dorugoramon_BT16_064.cs

@@ -15,7 +15,7 @@ namespace DCGO.CardEffects.BT16
             {
             {
                 bool PermanentCondition(Permanent targetPermanent)
                 bool PermanentCondition(Permanent targetPermanent)
                 {
                 {
-                    if (targetPermanent.TopCard.CardNames.Contains("DoruGreymon"))
+                    if (targetPermanent.TopCard.ContainsCardName("DoruGreymon"))
                     {
                     {
                         return true;
                         return true;
                     }
                     }