Commit af0866e4 authored by nanahira's avatar nanahira

fix

parent 761013fe
...@@ -124,7 +124,7 @@ class Replay ...@@ -124,7 +124,7 @@ class Replay
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