Commit 8d558fb3 authored by nanahira's avatar nanahira

fix

parent af0866e4
......@@ -185,7 +185,7 @@
header = Replay.readHeader(reader);
restBuffer = reader.readAll();
lzmaBuffer = Buffer.concat([header.getLzmaHeader(), restBuffer]);
if (header.isCompressed) {
if (!header.isCompressed) {
decompressed = restBuffer;
} else {
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