Fixed problem with winning a wave in the game.