Skip to content

Commit

Permalink
3.2.1: Important fix
Browse files Browse the repository at this point in the history
- Fixed error on loading existing saves
  • Loading branch information
UnlimitedHugs committed Jun 3, 2017
1 parent 777241d commit a4802a8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Mods/AllowTool/About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<author>UnlimitedHugs</author>
<targetVersion>0.17.0</targetVersion>
<url>https://ludeon.com/forums/index.php?topic=17218.0</url>
<description>Version: 3.2.0
<description>Version: 3.2.1

A set of tools to make your life on the Rim a bit easier.
Easily forbid and unforbid items, select similar things, have things hauled urgently and affect the entire map with powerful new tool extensions.
Expand Down
Binary file modified Mods/AllowTool/Assemblies/AllowTool.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.2.0")]
[assembly: AssemblyFileVersion("3.2.0")]
[assembly: AssemblyVersion("3.2.1")]
[assembly: AssemblyFileVersion("3.2.1")]
1 change: 1 addition & 0 deletions Source/AllowToolController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public override void WorldLoaded() {
public override void MapLoaded(Map map) {
// necessary when adding the mod to existing saves
AllowToolUtility.EnsureAllColonistsKnowWorkType(AllowToolDefOf.HaulingUrgent, map);
AllowToolUtility.EnsureAllColonistsKnowWorkType(AllowToolDefOf.FinishingOff, map);
}

public override void SettingsChanged() {
Expand Down
1 change: 1 addition & 0 deletions Source/AllowToolDefOf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public static class AllowToolDefOf {

// work types
public static WorkTypeDef HaulingUrgent;
public static WorkTypeDef FinishingOff;

// work giver
public static WorkGiverDef FinishOff;
Expand Down

0 comments on commit a4802a8

Please sign in to comment.