mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-20 23:24:16 +00:00
Fix autostart-host
Commitb90280855fadded support for multiplayer saved games changing the signature of StartNetworkHost without updating all callers. Fixes: #7684 Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com> (cherry picked from commit31a262ff7e) Signed-off-by: phosit <phosit@autistici.org>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user