Remove unnecessary launch params

This commit is contained in:
Kawe Mazidjatari 2022-09-25 20:20:25 +02:00
parent ba00d99e03
commit c4299cb758

View File

@ -71,22 +71,18 @@ void RemoveSpuriousGameParameters()
void AppendSDKParametersPreInit() void AppendSDKParametersPreInit()
{ {
#ifdef DEDICATED #ifdef DEDICATED
CommandLine()->AppendParm("-safe", "");
CommandLine()->AppendParm("-high", "");
CommandLine()->AppendParm("-rerun", "");
CommandLine()->AppendParm("-collate", ""); CommandLine()->AppendParm("-collate", "");
CommandLine()->AppendParm("-multiple", ""); CommandLine()->AppendParm("-multiple", "");
CommandLine()->AppendParm("-noorigin", ""); CommandLine()->AppendParm("-noorigin", "");
CommandLine()->AppendParm("-nodiscord", ""); CommandLine()->AppendParm("-nodiscord", "");
CommandLine()->AppendParm("-novid", "");
CommandLine()->AppendParm("-noshaderapi", ""); CommandLine()->AppendParm("-noshaderapi", "");
CommandLine()->AppendParm("-nobakedparticles", ""); CommandLine()->AppendParm("-nobakedparticles", "");
CommandLine()->AppendParm("-nosound", ""); CommandLine()->AppendParm("-novid", "");
CommandLine()->AppendParm("-nojoy", "");
CommandLine()->AppendParm("-nomouse", "");
CommandLine()->AppendParm("-nomenuvid", ""); CommandLine()->AppendParm("-nomenuvid", "");
CommandLine()->AppendParm("-nosound", "");
CommandLine()->AppendParm("-nomouse", "");
CommandLine()->AppendParm("-nojoy", "");
CommandLine()->AppendParm("-nosendtable", ""); CommandLine()->AppendParm("-nosendtable", "");
CommandLine()->AppendParm("-gamepad_ignore_local", "");
#endif #endif
// Assume default configs if the game isn't launched with the SDKLauncher. // Assume default configs if the game isn't launched with the SDKLauncher.
if (!CommandLine()->FindParm("-launcher")) if (!CommandLine()->FindParm("-launcher"))