mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
1.5 Update by A Flock of Birds
This commit is contained in:
parent
d24eb8c4a2
commit
1bc56f65ce
11 changed files with 28 additions and 20 deletions
|
@ -13,7 +13,7 @@ namespace CRIALactation
|
|||
public class PreceptComp_Lactation : PreceptComp
|
||||
{
|
||||
|
||||
public override void Notify_MemberGenerated(Pawn pawn, Precept precept, bool newborn)
|
||||
public override void Notify_MemberGenerated(Pawn pawn, Precept precept, bool newborn, bool ignoreApparel = false)
|
||||
{
|
||||
|
||||
if (newborn) return;
|
||||
|
@ -30,7 +30,5 @@ namespace CRIALactation
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace CRIALactation
|
|||
|
||||
public override bool ShouldSkip(Pawn pawn, bool forced = false)
|
||||
{
|
||||
List<Pawn> list = pawn.Map.mapPawns.AllPawnsSpawned;
|
||||
IReadOnlyList<Pawn> list = pawn.Map.mapPawns.AllPawnsSpawned;
|
||||
for(int i = 0; i < list.Count; i++)
|
||||
{
|
||||
if(LactationUtility.isMassageable(list[i]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue