[ADD] added sending the lobbies data from the server to the clients on startup
This commit is contained in:
@@ -34,6 +34,7 @@ namespace Client.Views
|
||||
Application.Current.Dispatcher.Invoke(delegate {
|
||||
data.User = user;
|
||||
data.Client = client;
|
||||
client.SendMessage(JSONConvert.ConstructLobbyRequestMessage());
|
||||
MainWindow startWindow = new MainWindow();
|
||||
startWindow.Show();
|
||||
this.Close();
|
||||
|
||||
Reference in New Issue
Block a user