Merge pull request #728 from diamante0018/develop
[Download]: Add flag to disable web server
This commit is contained in:
commit
01d31940a5
@ -653,6 +653,8 @@ namespace Components
|
|||||||
AssertSize(Game::TraceThreadInfo, 0x8);
|
AssertSize(Game::TraceThreadInfo, 0x8);
|
||||||
|
|
||||||
if (Dedicated::IsEnabled())
|
if (Dedicated::IsEnabled())
|
||||||
|
{
|
||||||
|
if (!Flags::HasFlag("disable-mongoose"))
|
||||||
{
|
{
|
||||||
mg_mgr_init(&Mgr);
|
mg_mgr_init(&Mgr);
|
||||||
|
|
||||||
@ -678,6 +680,7 @@ namespace Components
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Scheduler::Once([]
|
Scheduler::Once([]
|
||||||
|
Loading…
Reference in New Issue
Block a user