Skip to content

Commit

Permalink
This should fix possible save pollution by ensuring that there is no …
Browse files Browse the repository at this point in the history
…extra custom data upon loading
  • Loading branch information
SB15-MD committed Jan 19, 2024
1 parent bd96c69 commit 2b2ca7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Patches/SavePatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ internal class LoadLocalPatch
private static void Postfix()
{
if (!ModSettings.SavingEnabled) return;
CleanCustomData();
InjectCustomData();
}
}
Expand Down

0 comments on commit 2b2ca7b

Please sign in to comment.