Browse Source

Refactor selectedPermanent variable declarations

Removed duplicate declaration of selectedPermanent and added a new selectedPermanent1 variable.
x89rt2 5 months ago
parent
commit
6248f98578
1 changed files with 4 additions and 2 deletions
  1. 4 2
      Assets/Scripts/CardEffect/BT16/Black/BT16_055.cs

+ 4 - 2
Assets/Scripts/CardEffect/BT16/Black/BT16_055.cs

@@ -47,11 +47,13 @@ namespace DCGO.CardEffects.BT16
             {
                 return CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card);
             }
-
-            Permanent selectedPermanent = null;
+            
+            Permanent selectedPermanent1 = null;
 
             #region Can't Be De-Digivolved
 
+            Permanent selectedPermanent = null;
+
             IEnumerator AfterSelectPermanent(List<Permanent> permanents)
             {
                 if (permanents.Count >= 1)