Fixed file saving.
This commit is contained in:
parent
54daa0bf9b
commit
b0ef771e0a
1 changed files with 2 additions and 2 deletions
4
rpatool
4
rpatool
|
@ -199,9 +199,9 @@ class RenPyArchive:
|
|||
|
||||
# Predict header length, we'll write that one last.
|
||||
offset = 0
|
||||
if version == 3:
|
||||
if self.version == 3:
|
||||
offset = 34
|
||||
elif version == 2:
|
||||
elif self.version == 2:
|
||||
offset = 25
|
||||
archive = open(filename, 'wb')
|
||||
archive.seek(offset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue