Skip to content

Commit

Permalink
fix: add sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
cheahjs committed Sep 29, 2024
1 parent 2d34338 commit 3ed4b12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion palworld_save_tools/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,8 +894,9 @@ def property_inner(self, property_type: str, property: dict[str, Any]) -> int:
self.optional_guid(property.get("id", None))
if property["value"]["type"] == "None":
self.byte(property["value"]["value"])
size = 1
else:
self.fstring(property["value"]["value"])
size = self.fstring(property["value"]["value"])
elif property_type == "ArrayProperty":
self.fstring(property["array_type"])
self.optional_guid(property.get("id", None))
Expand Down

0 comments on commit 3ed4b12

Please sign in to comment.