I am making an online multiplayer card game and I am trying destroy the card sprites after the round is over. The weird thing is that I use the exact code for the other players and it works fine.
After the round is over, Player 1, 2 ,3's card are destroyed but player 4's cards are destroyed but one. It is frustrating matter. I have looked all over for the bug but to no avail. Something about the last player keeps spawning a card on Player 1 card slot after it is destroyed. I disable the code and let it play and it works fine for the second round. But something about the first round makes it spawn another card. Any help would be greatly appreciated. Also I tried using the debugger to find the code that is making the Player 4 card respawn, but it was no help. When I use the breakpoint at that event, it works fine in the preview. That is all I know. Any help is appreciated. Thanks! Also
Here is a video link for the bug. I tried my best to explain what is going on.
Also I have provided a link to the capx if you want to look through it.
https://dl.dropboxusercontent.com/u/157600816/Super%20Six%20Card%20Game%20%28Alpha%29.capx