From d90f4400ed39f95b97340c040c12ef6993abfc0a Mon Sep 17 00:00:00 2001 From: Ralph Sennhauser Date: Thu, 27 Nov 2025 19:50:18 +0100 Subject: [PATCH] Fix autostart-host Commit b90280855f43ef42159dc689fcf59a0d1ec78ce2 added support for multiplayer saved games changing the signature of StartNetworkHost without updating all callers. Fixes: #7684 Signed-off-by: Ralph Sennhauser (cherry picked from commit 31a262ff7eb1c804fb20ccc29fff1041720f5b87) Signed-off-by: phosit --- binaries/data/mods/public/autostart/autostart_host.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binaries/data/mods/public/autostart/autostart_host.js b/binaries/data/mods/public/autostart/autostart_host.js index 1374badaac..17b71657b6 100644 --- a/binaries/data/mods/public/autostart/autostart_host.js +++ b/binaries/data/mods/public/autostart/autostart_host.js @@ -14,7 +14,7 @@ class AutoStartHost const port = +(cmdLineArgs['autostart-port'] ?? 5073); // Password not implemented for autostart. - Engine.StartNetworkHost(playerName, port, "", !('autostart-disable-replay' in cmdLineArgs)); + Engine.StartNetworkHost(playerName, port, "", false, !('autostart-disable-replay' in cmdLineArgs)); } catch (e) {