Merge pull request #709 from diamante0018/develop

[Download]: Set fs_game dvar to modified
This commit is contained in:
Edo 2023-01-09 19:21:35 +00:00 committed by GitHub
commit b7f5f17c1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -327,6 +327,7 @@ namespace Components
Scheduler::Once([]
{
Game::Dvar_SetString(*Game::fs_gameDirVar, mod.data());
const_cast<Game::dvar_t*>((*Game::fs_gameDirVar))->modified = true;
mod.clear();