Merge pull request #728 from diamante0018/develop

[Download]: Add flag to disable web server
This commit is contained in:
Edo 2023-01-20 10:10:59 +00:00 committed by GitHub
commit 01d31940a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -653,6 +653,8 @@ namespace Components
AssertSize(Game::TraceThreadInfo, 0x8);
if (Dedicated::IsEnabled())
{
if (!Flags::HasFlag("disable-mongoose"))
{
mg_mgr_init(&Mgr);
@ -678,6 +680,7 @@ namespace Components
}
});
}
}
else
{
Scheduler::Once([]