diff --git a/Shared/LobbyClient/ScriptGenerator.cs b/Shared/LobbyClient/ScriptGenerator.cs index b3adbd7e5..8997af90f 100644 --- a/Shared/LobbyClient/ScriptGenerator.cs +++ b/Shared/LobbyClient/ScriptGenerator.cs @@ -60,6 +60,9 @@ public static string GenerateHostScript(SpringBattleContext context, int loopbac // send desync to server script.AppendFormat(" DumpGameStateOnDesync=1;\n"); + // set the "connecting to: xyz" message during early engine load + script.AppendFormat(" ShowServerName={0};\n", context.LobbyStartContext.Title.Replace(';', ' ')); + if (loopbackListenPort >0) script.AppendFormat(" AutohostPort={0};\n", loopbackListenPort); script.AppendLine(); script.AppendFormat(" HostIP={0};\n", context.IpAddress);