mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07: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:
parent
7575a04305
commit
d90f4400ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue