Просмотр исходного кода

Revert "Partial Fix - Playing 2 digimon at once + Digixros/Assembly"

hooperk 5 месяцев назад
Родитель
Сommit
af7a86e400
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      Assets/Scripts/Script/CardController.cs

+ 2 - 3
Assets/Scripts/Script/CardController.cs

@@ -1613,14 +1613,13 @@ public class PlayPermanentClass
                 }
             }
 
+            GManager.instance.GetComponent<SelectDigiXrosClass>().ResetSelectDigiXrosClass();
+            GManager.instance.GetComponent<SelectAssemblyClass>().ResetSelectAssemblyClass();
             GManager.instance.GetComponent<SelectDNACondition>().ResetSelectDNAConditionClass();
 
             yield return GManager.instance.photonWaitController.StartWait("EndPlayPermanent");
         }
 
-        GManager.instance.GetComponent<SelectDigiXrosClass>().ResetSelectDigiXrosClass();
-        GManager.instance.GetComponent<SelectAssemblyClass>().ResetSelectAssemblyClass();
-
         // except [On Play] effect
         bool CardEffectCondition(ICardEffect cardEffect)
         {