Skip to content

Commit

Permalink
Merge pull request #117 from BUTR/v1.0.32
Browse files Browse the repository at this point in the history
v1.0.33
  • Loading branch information
Aragas authored Jan 14, 2022
2 parents f874882 + 82f3db6 commit 6d5a624
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!--Development Variables-->
<PropertyGroup>
<!--Module Version-->
<Version>1.0.32</Version>
<Version>1.0.33</Version>
<!--Harmony Version-->
<HarmonyVersion>2.1.1</HarmonyVersion>
<!--Microsoft Extension Libraries Version-->
Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---------------------------------------------------------------------------------------------------
Version: 1.0.33
Game Versions: e1.4.3,e1.5.0,e1.5.1,e1.5.2,e1.5.3,e1.5.4,e1.5.5,e1.5.6,e1.5.7,e1.5.8,e1.5.9,e1.5.10,e1.6.0,e1.6.1,e1.6.2,e1.6.3,e1.6.4,e1.6.5,e1.7.0,e1.7.1
* Fixed TW save changes for the modding community.
---------------------------------------------------------------------------------------------------
Version: 1.0.32
Game Versions: e1.4.3,e1.5.0,e1.5.1,e1.5.2,e1.5.3,e1.5.4,e1.5.5,e1.5.6,e1.5.7,e1.5.8,e1.5.9,e1.5.10,e1.6.0,e1.6.1,e1.6.2,e1.6.3,e1.6.4,e1.6.5,e1.7.0,e1.7.1
* Fixed TW save changes for the modding community.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ internal static bool Disable(Harmony harmony)
return true;
}

private static void CampaignBehaviorBaseCtorPostfix(CampaignBehaviorBase instance, ref string ___StringId)
private static void CampaignBehaviorBaseCtorPostfix(CampaignBehaviorBase __instance, ref string ___StringId)
{
var module = ModuleInfoHelper.GetModuleByType(instance.GetType());
var module = ModuleInfoHelper.GetModuleByType(__instance.GetType());
if (module is null) // A non-module dll
{
return;
Expand All @@ -47,7 +47,7 @@ private static void CampaignBehaviorBaseCtorPostfix(CampaignBehaviorBase instanc
return;
}

___StringId = instance.GetType().FullName;
___StringId = __instance.GetType().FullName;
}
}
}

0 comments on commit 6d5a624

Please sign in to comment.