diff --git a/Platforms/Desktop/Program.cs b/Platforms/Desktop/Program.cs index 7a821ae..ee1056e 100644 --- a/Platforms/Desktop/Program.cs +++ b/Platforms/Desktop/Program.cs @@ -51,4 +51,9 @@ monoGameWindow.Graphics.PreferredBackBufferWidth = clientConfiguration.windowWid monoGameWindow.Graphics.PreferredBackBufferHeight = clientConfiguration.windowHeight; monoGameWindow.Graphics.GraphicsProfile = GraphicsProfile.HiDef; +universe.FindBehaviour()? + .OnConnectionEstablished.AddOneTimeListener( + (sender, connection) => monoGameWindow.Window.Title = $"Client {connection.Id}" + ); + monoGameWindow.Run();