mirror of
https://gitgud.io/Ed86/rjw-cum.git
synced 2024-08-15 00:43:40 +00:00
fix cum overlays toggle not working
This commit is contained in:
parent
30993c5880
commit
358b0d4f2e
3 changed files with 3 additions and 1 deletions
Binary file not shown.
|
@ -17,6 +17,8 @@ namespace rjwcum
|
||||||
[HarmonyPostfix]
|
[HarmonyPostfix]
|
||||||
static void DrawCum(RimWorld.PawnWoundDrawer __instance, Vector3 drawLoc, Mesh bodyMesh, Quaternion quat, bool drawNow, BodyTypeDef.WoundLayer layer, Rot4 pawnRot, bool? overApparel = null)
|
static void DrawCum(RimWorld.PawnWoundDrawer __instance, Vector3 drawLoc, Mesh bodyMesh, Quaternion quat, bool drawNow, BodyTypeDef.WoundLayer layer, Rot4 pawnRot, bool? overApparel = null)
|
||||||
{
|
{
|
||||||
|
if (!CumBase.cum_overlays) return;
|
||||||
|
|
||||||
Pawn pawn = Traverse.Create(__instance).Field("pawn").GetValue<Pawn>();//get local variable
|
Pawn pawn = Traverse.Create(__instance).Field("pawn").GetValue<Pawn>();//get local variable
|
||||||
|
|
||||||
//TODO add support for animals? unlikely as they has weird meshes
|
//TODO add support for animals? unlikely as they has weird meshes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<Manifest>
|
<Manifest>
|
||||||
<identifier>RimJobWorld Cum</identifier>
|
<identifier>RimJobWorld Cum</identifier>
|
||||||
<version>1.0.1</version>
|
<version>1.0.2</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<li>RimJobWorld</li>
|
<li>RimJobWorld</li>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
Loading…
Reference in a new issue