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 8eedcac
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
Binary file modified Mods/AllowTool/Assemblies/AllowTool.dll
Binary file not shown.
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 8eedcac

Please sign in to comment.