Skip to content

Commit

Permalink
Merge pull request #349 from edbmods/bug-fixes-1.5.9
Browse files Browse the repository at this point in the history
Fixed problem loading older pawn save files (pawn save version 3)
  • Loading branch information
edbmods authored May 9, 2024
2 parents 931e6a0 + 9732a21 commit bb1d996
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
[assembly: AssemblyVersion("1.1.1")]

// Increment for each new release
[assembly: AssemblyFileVersion("1.5.8")]
[assembly: AssemblyFileVersion("1.5.9")]
2 changes: 1 addition & 1 deletion Resources/About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

If you get a set of starting colonists that you like, save them as a preset so that you can start your game the same way next time.

[Version 1.5.8]
[Version 1.5.9]
</description>
<loadAfter>
<li>net.pardeike.rimworld.mod.harmony</li>
Expand Down
2 changes: 1 addition & 1 deletion Resources/About/Manifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<identifier>EdB.PrepareCarefully</identifier>
<version>1.5.8</version>
<version>1.5.9</version>
<showCrossPromotions>false</showCrossPromotions>
<manifestUri>https://github.com/edbmods/EdBPrepareCarefully/raw/master/Resources/About/Manifest.xml</manifestUri>
<downloadUri>https://github.com/edbmods/EdBPrepareCarefully/releases/latest</downloadUri>
Expand Down
7 changes: 7 additions & 0 deletions Resources/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
_____________________________________________________________________________

Version 1.5.9
_____________________________________________________________________________

- Fixed problem loading older preset save files

_____________________________________________________________________________

Version 1.5.8
Expand Down
2 changes: 1 addition & 1 deletion Source/PawnLoaderV3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public PawnLoaderResult Load(string file) {
Scribe_Values.Look<string>(ref modString, "mods", "", false);
result.Mods = ConvertModStringToModList(modString);
try {
Scribe_Deep.Look<SaveRecordPawnV3>(ref pawnRecord, "pawn", null);
Scribe_Deep.Look<SaveRecordPawnV3>(ref pawnRecord, "colonist", null);
}
catch (Exception e) {
Messages.Message(modString, MessageTypeDefOf.SilentInput);
Expand Down

0 comments on commit bb1d996

Please sign in to comment.