Skip to content

Commit 3a97bf2

Browse files
aelurumK0lb3
authored andcommitted
Texture2D - 2022 bugfix
1 parent 02b7d17 commit 3a97bf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎UnityPy/classes/Texture2D.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def __init__(self, reader):
146146
self.m_IgnoreMasterTextureLimit = reader.read_boolean()
147147
if version >= (2022, 2, 0): # 2022.2.0f1 and up
148148
self.m_IgnoreMipmapLimit = reader.read_boolean()
149-
self.align_stream()
149+
reader.align_stream()
150150
self.m_MipmapLimitGroupName = reader.read_aligned_string()
151151
if (3,) <= version[:2] <= (5, 4): # 3.0 - 5.4
152152
self.m_ReadAllowed = reader.read_boolean()

0 commit comments

Comments
 (0)