private void Exit_Lobby_Click(object sender, EventArgs e) { client.LeaveGame(CurrentGame.Instance.Game, PlayerCredentials.Instance.Player); CurrentGame.Instance.Game = null; this.Hide(); (new JoinGame()).Show(); }
private void Exit_Lobby_Click(object sender, EventArgs e) { client.LeaveGame(GameInstance.Instance.Game); GameInstance.Instance.Game = null; this.Hide(); (new JoinGame(client)).Show(); }