Skip to content

Commit 6cdafe3

Browse files
authored
BundleFile: fix exception on file.save("original") (#178)
Regression in commit 9232cdd, which renamed _data_flags to dataflags.
1 parent f813f6c commit 6cdafe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnityPy/files/BundleFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def save(self, packer=None):
223223
elif packer == "original":
224224
self.save_fs(
225225
writer,
226-
data_flag=self._data_flags,
226+
data_flag=self.dataflags,
227227
block_info_flag=self._block_info_flags,
228228
)
229229
elif packer == "lz4":

0 commit comments

Comments
 (0)