Fixed battle recordings playback, fixed being unable to import .anm files in the Animations Editor

This commit is contained in:
Maruno17
2021-05-15 21:01:39 +01:00
parent 66b40fd181
commit 206244a3f0
3 changed files with 16 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ def dumpBase64Anim(s)
end
def loadBase64Anim(s)
return Marshal.restore(StringInput.new(Zlib::Inflate.inflate(s.unpack("m")[0])))
return Marshal.restore(Zlib::Inflate.inflate(s.unpack("m")[0]))
end
def pbExportAnim(animations)