Skip to content

Commit

Permalink
fix duplicated saves from online and offline versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tudddorrr committed Nov 21, 2024
1 parent 6dd3b12 commit 1bf8a66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Packages/com.trytalo.talo/Runtime/APIs/SavesAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,10 @@ private GameSave UpdateOfflineSaves(GameSave incomingSave)
else
{
// first entry into the saves file
offlineIncomingSave.id = -1;
if (offlineIncomingSave.id == 0)
{
offlineIncomingSave.id = -1;
}
offlineContent = new OfflineSavesContent(new GameSave[] { offlineIncomingSave });
}

Expand Down

0 comments on commit 1bf8a66

Please sign in to comment.