Makes sure players are removed from the game when they leave the lobby.