Fixed setting the game mode to the wrong player.