Round Based System not resetting


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.


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.


1 Like