Skip to content

Commit

Permalink
Soulball extract fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cadon committed Sep 16, 2023
1 parent c07123a commit 128c688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SavegameToolkit/ArkSavegame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ private void readBinaryStoredObjects(ArkArchive archive, ReadingOptions options)
var redirectorIndex = x.ClassString.Contains("Cryopod") ? 0 : 1;

// ensure redir
if(redirectorIndex < redirectors.Count-1)
if(redirectorIndex < redirectors.Count)
{
cryoDataOffset = ((StructCustomItemDataRef)redirectors[redirectorIndex]).Position;
dataFile = ((StructCustomItemDataRef)redirectors[redirectorIndex]).StoreDataIndex;
Expand Down

0 comments on commit 128c688

Please sign in to comment.