[Download] Temporarily disable the dvar check to fix startup
The dvar system is not yet active at that point, so the client will crash
This commit is contained in:
parent
6be5f2cd86
commit
4f8820587d
@ -803,7 +803,7 @@ namespace Components
|
|||||||
|
|
||||||
Download::Download()
|
Download::Download()
|
||||||
{
|
{
|
||||||
if (Dedicated::IsEnabled() || Dvar::Var("mod_force_download_server").get<bool>())
|
if (Dedicated::IsEnabled() /*|| Dvar::Var("mod_force_download_server").get<bool>()*/)
|
||||||
{
|
{
|
||||||
ZeroMemory(&Download::Mgr, sizeof Download::Mgr);
|
ZeroMemory(&Download::Mgr, sizeof Download::Mgr);
|
||||||
mg_mgr_init(&Download::Mgr, nullptr);
|
mg_mgr_init(&Download::Mgr, nullptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user