mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Not sure why this code has been here forever, but it was wrong. If the compressed file was exact the same size as the extracted file then we'd never extract it? Why? IDK, it's bad, and I should feel bad. (#2487)
This commit is contained in:
parent
ab12bad74a
commit
f16f27a22b
@ -91,7 +91,7 @@ public class FileRecord : IFile
|
||||
|
||||
if (BSA.HeaderType == VersionType.SSE)
|
||||
{
|
||||
if (Compressed && size.Size != size.OnDisk)
|
||||
if (Compressed)
|
||||
{
|
||||
await using var r = LZ4Stream.Decode(rdr.BaseStream);
|
||||
await r.CopyToLimitAsync(output, (int) size.Original, token).ConfigureAwait(false);
|
||||
|
Loading…
Reference in New Issue
Block a user