Explorar o código

cleanup using new HasAdventureTraits bool

Lewisaaronwelch hai 1 ano
pai
achega
d6f275b961
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      Assets/CardEffect/ST21/Green/ST21_07.cs

+ 1 - 3
Assets/CardEffect/ST21/Green/ST21_07.cs

@@ -40,9 +40,7 @@ namespace DCGO.CardEffects.ST21
                 }
 
                 bool HasAdventureTrait(CardSource cardSource)
-                {
-                    return cardSource.ContainsTraits("ADVENTURE");
-                }
+                   => cardSource.HasAdventureTraits;
 
                 bool CanActivateCondition(Hashtable hashtable)
                 {