From 4f8820587d98f4ae38d75d8804e787abfabccdc8 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 4 Nov 2018 20:16:14 +0100 Subject: [PATCH] [Download] Temporarily disable the dvar check to fix startup The dvar system is not yet active at that point, so the client will crash --- src/Components/Modules/Download.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/Download.cpp b/src/Components/Modules/Download.cpp index acc49a12..f347920b 100644 --- a/src/Components/Modules/Download.cpp +++ b/src/Components/Modules/Download.cpp @@ -803,7 +803,7 @@ namespace Components Download::Download() { - if (Dedicated::IsEnabled() || Dvar::Var("mod_force_download_server").get()) + if (Dedicated::IsEnabled() /*|| Dvar::Var("mod_force_download_server").get()*/) { ZeroMemory(&Download::Mgr, sizeof Download::Mgr); mg_mgr_init(&Download::Mgr, nullptr);