Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit bfb1019

Browse files
committed
don't assume download is initialized when new version
1 parent f967b8b commit bfb1019

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

NiceHashMiner/Configs/GeneralConfig.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ protected override void InitializeObject() {
246246
DisableAMDTempControl = _file.DisableAMDTempControl;
247247
DisableDefaultOptimizations = _file.DisableDefaultOptimizations;
248248

249-
DownloadInit = _file.DownloadInit;
249+
if (!IsNewVersion) {
250+
DownloadInit = _file.DownloadInit;
251+
}
250252

251253
hwidLoadFromFile = true;
252254
hwidOK = this.hwid == _file.hwid;

0 commit comments

Comments
 (0)