mirror of
https://gitgud.io/ll.mirrors/sizedapparel.git
synced 2024-08-15 00:43:40 +00:00
Mirror of 1.4.15 from Lovers Lab
This commit is contained in:
parent
9a3d9f4185
commit
a5ed05c17b
1180 changed files with 4378 additions and 1905 deletions
27
source/SizedApparel/Patch-DubsApparelPatch.cs
Normal file
27
source/SizedApparel/Patch-DubsApparelPatch.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using RimWorld;
|
||||
using Verse;
|
||||
using HarmonyLib;
|
||||
|
||||
namespace SizedApparel
|
||||
{
|
||||
public static class SizedApparelDubsApparelPatch
|
||||
{
|
||||
public static void indoorPostFixPatch(Pawn pawn)
|
||||
{
|
||||
PawnGraphicSet graphicSet = pawn.Drawer?.renderer?.graphics;
|
||||
|
||||
if (graphicSet == null)
|
||||
return;
|
||||
var comp = pawn.GetComp<ApparelRecorderComp>();
|
||||
if (comp == null)
|
||||
return;
|
||||
comp.needToCheckApparelGraphicRecords = true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue