(d5505ed3d) Show the name of the server in the "connecting to..." popup instead of the IP address

This commit is contained in:
Joonas Rikkonen
2019-06-04 16:52:07 +03:00
parent e633ecca69
commit c4584f7763
3 changed files with 20 additions and 13 deletions
@@ -727,7 +727,7 @@ namespace Barotrauma
GameMain.ServerChildProcess = Process.Start(processInfo);
Thread.Sleep(1000); //wait until the server is ready before connecting
GameMain.Client = new GameClient(name, "127.0.0.1:" + port.ToString(),ownerKey);
GameMain.Client = new GameClient(name, "127.0.0.1:" + port.ToString(), name, ownerKey);
}
catch (Exception e)
{