Explorar el Código

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

hooperk hace 5 meses
padre
commit
265292e1ef
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      Assets/Scripts/Script/CardController.cs

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

@@ -1613,13 +1613,14 @@ 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)
         {