mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
added hats display selection incompatibility warnings, removed redundant patches
This commit is contained in:
parent
53fc49ede0
commit
c3193e4213
4 changed files with 12 additions and 4 deletions
Binary file not shown.
|
@ -28,6 +28,10 @@
|
||||||
<downloadUrl>https://www.loverslab.com/topic/110270-mod-rimjobworld/</downloadUrl>
|
<downloadUrl>https://www.loverslab.com/topic/110270-mod-rimjobworld/</downloadUrl>
|
||||||
</li>
|
</li>
|
||||||
</modDependencies>
|
</modDependencies>
|
||||||
|
<incompatibleWith>
|
||||||
|
<li>velc.HatsDisplaySelection</li>
|
||||||
|
<!-- custom rendering transpilers too complicated to patch -->
|
||||||
|
</incompatibleWith>
|
||||||
<loadAfter>
|
<loadAfter>
|
||||||
<li>UnlimitedHugs.HugsLib</li>
|
<li>UnlimitedHugs.HugsLib</li>
|
||||||
<li>brrainz.harmony</li>
|
<li>brrainz.harmony</li>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
using System;
|
/*using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
@ -44,4 +44,4 @@ namespace Rimworld_Animations {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
|
@ -51,13 +51,17 @@ namespace Rimworld_Animations {
|
||||||
{
|
{
|
||||||
|
|
||||||
static HarmonyPatch_Animate() {
|
static HarmonyPatch_Animate() {
|
||||||
|
/* hats display selection patch -- broken
|
||||||
if (LoadedModManager.RunningModsListForReading.Any(x => x.Name == "Hats Display Selection")) {
|
if (LoadedModManager.RunningModsListForReading.Any(x => x.Name == "Hats Display Selection")) {
|
||||||
HarmonyPatch_HatsDisplaySelection.PatchHatsDisplaySelectionArgs();
|
HarmonyPatch_HatsDisplaySelection.PatchHatsDisplaySelectionArgs();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PatchRimworldFunctionsNormally();
|
PatchRimworldFunctionsNormally();
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
|
PatchRimworldFunctionsNormally();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void PatchRimworldFunctionsNormally() {
|
static void PatchRimworldFunctionsNormally() {
|
||||||
|
|
Loading…
Reference in a new issue