diff --git a/binaries/system/readme.txt b/binaries/system/readme.txt index 28289db73b..a0e06db4e9 100644 --- a/binaries/system/readme.txt +++ b/binaries/system/readme.txt @@ -21,6 +21,7 @@ Autostart: -autostart-wonderduration=NUM sets the victory duration NUM for wonder victory condition (default 10 minutes) -autostart-relicduration=NUM sets the victory duration NUM for relic victory condition (default 10 minutes) -autostart-reliccount=NUM sets the number of relics for relic victory condition (default 2 relics) +-autostart-disable-replay disable saving of replays Multiplayer: -autostart-playername=NAME sets local player NAME (default 'anonymous') -autostart-host sets multiplayer host mode diff --git a/source/ps/GameSetup/GameSetup.cpp b/source/ps/GameSetup/GameSetup.cpp index 924766faaf..551d52b4b6 100644 --- a/source/ps/GameSetup/GameSetup.cpp +++ b/source/ps/GameSetup/GameSetup.cpp @@ -1216,6 +1216,7 @@ CStr8 LoadSettingsOfScenarioMap(const VfsPath &mapPath) * (default 10 minutes) * -autostart-reliccount=NUM sets the number of relics for relic victory condition * (default 2 relics) + * -autostart-disable-replay disable saving of replays * * Multiplayer: * -autostart-playername=NAME sets local player NAME (default 'anonymous') @@ -1250,7 +1251,7 @@ bool Autostart(const CmdLineArgs& args) return false; const bool nonVisual = args.Has("autostart-nonvisual"); - g_Game = new CGame(nonVisual, !nonVisual); + g_Game = new CGame(nonVisual, !args.Has("autostart-disable-replay")); ScriptInterface& scriptInterface = g_Game->GetSimulation2()->GetScriptInterface(); JSContext* cx = scriptInterface.GetContext();