diff --git a/UnityPy/helpers/Tpk.py b/UnityPy/helpers/Tpk.py index 84b65d42..f523a794 100644 --- a/UnityPy/helpers/Tpk.py +++ b/UnityPy/helpers/Tpk.py @@ -292,7 +292,7 @@ def fromString(version: str) -> UnityVersion: return UnityVersion(version.split(".")) @staticmethod - def fromList(major: int, minor: int, patch: int, build: int) -> UnityVersion: + def fromList(major: int = 0, minor: int = 0, patch: int = 0, build: int = 0) -> UnityVersion: return UnityVersion(major << 48 | minor << 32 | patch << 16 | build) @property