Fix onlyOtherSide state not updating properly when side changes (fixes #60)

This commit is contained in:
comp500 2023-05-20 05:09:25 +01:00
parent 304fb802ed
commit 758385c225

View File

@ -109,12 +109,12 @@ internal class DownloadTask private constructor(val metadata: IndexFile.File, va
cachedFile.optionValue = linkedFile.option.defaultValue cachedFile.optionValue = linkedFile.option.defaultValue
} }
} }
}
cachedFile.isOptional = isOptional cachedFile.isOptional = isOptional
cachedFile.onlyOtherSide = !correctSide() cachedFile.onlyOtherSide = !correctSide()
} }
} }
} }
}
/** /**
* Check if the file in the destination location is already valid * Check if the file in the destination location is already valid