From f51397d6a4692835b223743907a628e1e4338242 Mon Sep 17 00:00:00 2001 From: Roel Date: Wed, 17 Apr 2019 21:06:25 +0200 Subject: [PATCH] fixed error on startup --- Assemblies/WhatTheHack.dll | Bin 268800 -> 268800 bytes .../PrisonLabor_Patch_RenamePrisoners.cs | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Assemblies/WhatTheHack.dll b/Assemblies/WhatTheHack.dll index 8b1c4925852a8d98eea82e241e629540ae59c8c0..e0ae5f31b96e4600d6294cef1b0887f806c77ac5 100644 GIT binary patch delta 11132 zcmZvi4OmrG*2ni<3-qFV3hEWXPzgamQ8B+t&rLw{W&G&nDJ#dE#vI1%!x>UYnhSH4 zG_@o@jwqQaD!x%;Bc+u#Rz{{|HaU})rOY^5rbZ4b8cpwBYi&B7_j!Asp4;#I*WT;D z*53P^dv27~N0-${uUHJ1=T|=6%X4St_PZn1pb#}l>3^&cwHPaV$A-@cQQ?{o3=B~T zD|JYs1+g*2l>uF2~ z6oh%SvPNYjkLvUo#N}yF6}}lI9yJ#VS*!5=qawnZ3yYW<)Ej+B+imE>JBji;(JbW( ze@nEmGf{&|?UU=73%$aL+UFcDhEBO(K=1_s3ORZkQ9`@2=*|QtLgoTY9qzWm!pY}LRB#Mp}TDu_DDuPwf0m2Hk zbel)bgMYACq1G`a#7JmXA!)y7lIrI{tN80!<6j`Y@J(p73&F5dT(-Gyefw5Seiys6vGKa+g|i&Eg??Klnv}}6+@AsguMP% z37ltYP}GYjpkG&sJX$%(dIIids!$07J!%2WH`JeLqb8ldT>UVe#H4OA&?_R7RIvbB znD%==+gKN}0H$aMzw zQYbZqcN0}J$@bEbJ;e6$SstY|LqF(6D}`V@X=1Gu>V?#%nh{nhe9z<)@k!|1lR_K9 z9@87~Nr>%fXLW|uK!RLVcm4Lwv?pPwp}qP91mL)#!ip|82jCl~g?w@Xpc2GXU!=%5 zL)RiGGJ&Z<$+!%r3e}Hixz*4k%V^x(fC-(u)teN6g+_crAF?v|s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(6k^6vdt?gH%OqwBakA0K zOcCxfL?cs#A;)YpMcB^}nJL0MHR=4~rpPfgB9caCif}wPY+*A+xXKWXOcB;H$?;O; z*fB-ez*;~>!=@2M_)(Y0aS|E)^BoXA?sF41Sci?nn_a@jJ31VXVV_Vv0Tl?{G-5oa z8cK})(04ax2Kx=u+cW>^k;7p3$YD6}XR-e=_^XSfJfjPreelcjmD3B(?=Gvwl7*qi z^k3s1+uhPb|BYKzy!k6!-K`oNjEW0McBKXf#)bT2wdIQ69UUKX6Tup?yN4&_J6Daj G+y4ThM|ME~ diff --git a/Source/WhatTheHack/Harmony/PrisonLabor/PrisonLabor_Patch_RenamePrisoners.cs b/Source/WhatTheHack/Harmony/PrisonLabor/PrisonLabor_Patch_RenamePrisoners.cs index cc81c737..e4722995 100644 --- a/Source/WhatTheHack/Harmony/PrisonLabor/PrisonLabor_Patch_RenamePrisoners.cs +++ b/Source/WhatTheHack/Harmony/PrisonLabor/PrisonLabor_Patch_RenamePrisoners.cs @@ -42,8 +42,9 @@ static void Postfix(Pawn pawn, ref bool __result) } } - public static void Stub(Pawn pawn) + public static bool Stub(Pawn pawn) { + return false; //This is patched when harmony can't find the CE method ShouldReload. } }