From f4b1c5703577324f23656922ed243d9e5f390dab Mon Sep 17 00:00:00 2001 From: Diavolo Date: Mon, 9 Jan 2023 20:14:12 +0100 Subject: [PATCH] [Download]: Set fs_game dvar to modified --- src/Components/Modules/Download.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Components/Modules/Download.cpp b/src/Components/Modules/Download.cpp index d4e53ffb..9fcdee1b 100644 --- a/src/Components/Modules/Download.cpp +++ b/src/Components/Modules/Download.cpp @@ -327,6 +327,7 @@ namespace Components Scheduler::Once([] { Game::Dvar_SetString(*Game::fs_gameDirVar, mod.data()); + const_cast((*Game::fs_gameDirVar))->modified = true; mod.clear();