[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:
momo5502 2018-11-04 20:16:14 +01:00
parent 6be5f2cd86
commit 4f8820587d

View File

@ -803,7 +803,7 @@ namespace Components
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);
mg_mgr_init(&Download::Mgr, nullptr);