mirror of
https://gitgud.io/c0ffeeeeeeee/rjw-events.git
synced 2024-08-14 23:57:42 +00:00
25 lines
595 B
C#
25 lines
595 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using HarmonyLib;
|
|||
|
using RimWorld;
|
|||
|
using Verse;
|
|||
|
|
|||
|
namespace RJW_Events
|
|||
|
{
|
|||
|
[HarmonyPatch(typeof(LordJob_Joinable_Party), "ApplyOutcome")]
|
|||
|
public static class HarmonyPatch_ReclotheOnEnd
|
|||
|
{
|
|||
|
public static void Postfix(LordToil_Party toil)
|
|||
|
{
|
|||
|
List<Pawn> ownedPawns = toil.lord.ownedPawns;
|
|||
|
foreach(Pawn p in ownedPawns)
|
|||
|
{
|
|||
|
p.Drawer.renderer.graphics.ResolveApparelGraphics();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|