diff --git a/About/About.xml b/About/About.xml index 2ae166e7..c33ba3c0 100644 --- a/About/About.xml +++ b/About/About.xml @@ -3,7 +3,7 @@ Prison Labor Avius 0.18.0 - Version 0.8.9 + Version 0.8.9.1 This mod force prisoners to work. To enable this feature prisoners must have "Force to work" option checked ("Prisoner" tab). Prison labor needs management that consist: - Motivation - prisoners need to be motivated by presence of colonists. Wardens have new job - supervising prisoners. Low motivation can lead to revolts. diff --git a/Assemblies/PrisonLabor.dll b/Assemblies/PrisonLabor.dll index f86ede9e..e2c349df 100644 Binary files a/Assemblies/PrisonLabor.dll and b/Assemblies/PrisonLabor.dll differ diff --git a/README.md b/README.md index 2fb4af6c..de455e97 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

- v0.8.9 + v0.8.9.1

diff --git a/Source/HarmonyPatches/Patch_BillCheckbox.cs b/Source/HarmonyPatches/Patch_BillCheckbox.cs index 6ab15c4c..d3376de6 100644 --- a/Source/HarmonyPatches/Patch_BillCheckbox.cs +++ b/Source/HarmonyPatches/Patch_BillCheckbox.cs @@ -116,7 +116,8 @@ private static IEnumerable Transpiler(ILGenerator gen, MethodBa } else { - throw new Exception($"Failed to get operands for harmony patch Patch_BillPrevention: billField: {billField != null}, label: {label != null}"); + // TODO repair + //throw new Exception($"Failed to get operands for harmony patch Patch_BillCheckbox: billField: {billField != null}, label: {label != null}"); } } diff --git a/Source/HarmonyPatches/Patch_WorkTab.cs b/Source/HarmonyPatches/Patch_WorkTab.cs index c6a16a43..6e5c4708 100644 --- a/Source/HarmonyPatches/Patch_WorkTab.cs +++ b/Source/HarmonyPatches/Patch_WorkTab.cs @@ -7,7 +7,7 @@ namespace PrisonLabor.HarmonyPatches { - [HarmonyPatch(typeof(MainTabWindow_Work))] + [HarmonyPatch(typeof(MainTabWindow_PawnTable))] [HarmonyPatch("get_Pawns")] internal class Patch_WorkTab { diff --git a/Source/NewsDialog.cs b/Source/NewsDialog.cs index c6c22319..482f22e2 100644 --- a/Source/NewsDialog.cs +++ b/Source/NewsDialog.cs @@ -44,7 +44,16 @@ public void Init() { List titlesList = new List(); List itemsList = new List(); - + + // 0.8.9.1 (silent) + if (showAll) + { + titlesList.Add("Prison Labor Beta v0.8.9.1 unstable"); + string[] itemsArray = + { + "fixed harmony patches (work tab should appear now)", + }; + } // 0.8.9 (silent) if (showAll) { diff --git a/Source/PrefsData.cs b/Source/PrefsData.cs index 80d0fdd0..e7436dba 100644 --- a/Source/PrefsData.cs +++ b/Source/PrefsData.cs @@ -47,7 +47,8 @@ public enum Version v0_8_6, v0_8_7, v0_8_8, - v0_8_9 + v0_8_9, + v0_8_9_1 } [Flags] diff --git a/Source/VersionUtility.cs b/Source/VersionUtility.cs index 2c230e3c..21c4d870 100644 --- a/Source/VersionUtility.cs +++ b/Source/VersionUtility.cs @@ -8,8 +8,8 @@ namespace PrisonLabor { class VersionUtility { - public const Version versionNumber = Version.v0_8_9; - public const string versionString = "0.8.9 unstable"; + public const Version versionNumber = Version.v0_8_9_1; + public const string versionString = "0.8.9.1 unstable"; public static void CheckVersion() { diff --git a/changelog.txt b/changelog.txt index b5896203..cd1d517a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,6 @@ Changelog: +0.8.9.1 +- fixed harmony patches (work tab should appear now) 0.8.9 - updated to RimWorld b18 0.8.8