[Download]: Add flag to disable web server
This commit is contained in:
parent
77e8e1f8d5
commit
c779ae605d
@ -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