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,9 +109,9 @@ internal class DownloadTask private constructor(val metadata: IndexFile.File, va
cachedFile.optionValue = linkedFile.option.defaultValue cachedFile.optionValue = linkedFile.option.defaultValue
} }
} }
cachedFile.isOptional = isOptional
cachedFile.onlyOtherSide = !correctSide()
} }
cachedFile.isOptional = isOptional
cachedFile.onlyOtherSide = !correctSide()
} }
} }
} }