Round Based System not resetting

Hello,

I have a mini-game style game. I have gotten it so that round one goes through fine, but then when the map is supposed to reset for round two, it just continues to reset for infinity. This means that obviously the rounds after one are unplayable. I will provide some of the code below.

Capture9|525x500

The function onEnd is where it is supposed to reset. It is supposed to be a loop that replaces the pieces of the ground that went missing. However; it just keeps replacing them into the next round.

SOLVED

1 Like