Commit 8d558fb3 authored by nanahira's avatar nanahira

fix

parent af0866e4
Pipeline #4742 passed with stages
in 9 minutes and 31 seconds
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
header = Replay.readHeader(reader); header = Replay.readHeader(reader);
restBuffer = reader.readAll(); restBuffer = reader.readAll();
lzmaBuffer = Buffer.concat([header.getLzmaHeader(), restBuffer]); lzmaBuffer = Buffer.concat([header.getLzmaHeader(), restBuffer]);
if (header.isCompressed) { if (!header.isCompressed) {
decompressed = restBuffer; decompressed = restBuffer;
} else { } else {
decompressed = Buffer.from(lzma.decompress(lzmaBuffer)); decompressed = Buffer.from(lzma.decompress(lzmaBuffer));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment