SZAND\msx_2 hai 1 ano
pai
achega
3f7e2584e0
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      ActionTowerDefense/Assets/Scripts/PlayerController.cs

+ 4 - 0
ActionTowerDefense/Assets/Scripts/PlayerController.cs

@@ -292,9 +292,11 @@ public class PlayerController : MoveCharacter
         {
             case 0:
                 SpiritSystem.isP1Out = true;
+                SpiritSystem.isP1In = false;
                 break;
             case 1:
                 SpiritSystem.isP2Out = true;
+                SpiritSystem.isP2In = false;
                 break;
             default:
                 break;
@@ -1210,9 +1212,11 @@ public class PlayerController : MoveCharacter
                     {
                         case 0:
                             SpiritSystem.isP1In = true;
+                            SpiritSystem.isP1Out = false;
                             break;
                         case 1:
                             SpiritSystem.isP2In = true;
+                            SpiritSystem.isP2Out = false;
                             break;
                         default:
                             break;