added hats display selection incompatibility warnings, removed redundant patches

This commit is contained in:
c0ffee 2021-04-12 22:50:14 -07:00
parent 53fc49ede0
commit c3193e4213
4 changed files with 12 additions and 4 deletions

View file

@ -28,6 +28,10 @@
<downloadUrl>https://www.loverslab.com/topic/110270-mod-rimjobworld/</downloadUrl>
</li>
</modDependencies>
<incompatibleWith>
<li>velc.HatsDisplaySelection</li>
<!-- custom rendering transpilers too complicated to patch -->
</incompatibleWith>
<loadAfter>
<li>UnlimitedHugs.HugsLib</li>
<li>brrainz.harmony</li>

View file

@ -1,4 +1,4 @@
using System;
/*using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@ -44,4 +44,4 @@ namespace Rimworld_Animations {
}
}
}
}*/

View file

@ -51,13 +51,17 @@ namespace Rimworld_Animations {
{
static HarmonyPatch_Animate() {
/* hats display selection patch -- broken
if (LoadedModManager.RunningModsListForReading.Any(x => x.Name == "Hats Display Selection")) {
HarmonyPatch_HatsDisplaySelection.PatchHatsDisplaySelectionArgs();
}
else {
PatchRimworldFunctionsNormally();
}
}*/
PatchRimworldFunctionsNormally();
}
static void PatchRimworldFunctionsNormally() {