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();
 }
Ejemplo n.º 2
0
 private void Exit_Lobby_Click(object sender, EventArgs e)
 {
     client.LeaveGame(GameInstance.Instance.Game);
     GameInstance.Instance.Game = null;
     this.Hide();
     (new JoinGame(client)).Show();
 }