HatsDisplaySelection patches

This commit is contained in:
c0ffee 2021-05-07 21:02:55 -07:00
parent acfb864629
commit 8deae217e0
13 changed files with 208 additions and 12 deletions

View file

@ -51,19 +51,20 @@ namespace Rimworld_Animations {
{
static HarmonyPatch_Animate() {
/* hats display selection patch -- broken
// hats display selection patch -- broken
if (LoadedModManager.RunningModsListForReading.Any(x => x.Name == "Hats Display Selection")) {
HarmonyPatch_HatsDisplaySelection.PatchHatsDisplaySelectionArgs();
}
else {
PatchRimworldFunctionsNormally();
}*/
}
PatchRimworldFunctionsNormally();
//PatchRimworldFunctionsNormally();
}
static void PatchRimworldFunctionsNormally() {
(new Harmony("rjw")).Patch(AccessTools.Method(typeof(PawnRenderer), "RenderPawnInternal", parameters: new Type[]
{