Skip to content

Commit

Permalink
Added force extract on update
Browse files Browse the repository at this point in the history
  • Loading branch information
Rex109 committed Mar 30, 2024
1 parent 6e14497 commit 760be0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cod4qol/updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ void updater::Update()
if(download_url.empty())
return;

commands::qol_forceiwdextract->current.enabled = true;
commands::qol_forceiwdextract->latched.enabled = true;

std::filesystem::create_directory("download");

curl_global_init(CURL_GLOBAL_ALL);
Expand Down
1 change: 1 addition & 0 deletions cod4qol/updater.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once
#include "commands.hpp"

namespace updater
{
Expand Down

0 comments on commit 760be0c

Please sign in to comment.