SZAND\msx_2 il y a 1 an
Parent
commit
3f7e2584e0
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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;