Disable autoloading mods when playing online
Any mods when hosting and joining should have to be explicitly labeled, this way extra mods aren't accidentally making their way into the lists.
This commit is contained in:
parent
2a5cce543b
commit
6756c850e7
1 changed files with 2 additions and 1 deletions
|
|
@ -2029,7 +2029,8 @@ static void AddAutoloadFiles(const char *autoname, std::vector<std::string>& all
|
|||
}
|
||||
}
|
||||
|
||||
if (!(gameinfo.flags & GI_SHAREWARE) && !Args->CheckParm("-noautoload") && !disableautoload)
|
||||
// Disable autoloading in netgames as we don't want people who are hosting/joining loading up random files.
|
||||
if (!(gameinfo.flags & GI_SHAREWARE) && !Args->CheckParm("-noautoload") && !disableautoload && !Args->CheckParm("-host") && !Args->CheckParm("-join"))
|
||||
{
|
||||
FString file;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue