mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
bugfixes for recent rimworld update
This commit is contained in:
parent
d2ee848ff0
commit
91fd071eba
5 changed files with 4 additions and 2 deletions
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Manifest>
|
||||
<identifier>C0ffeeRIA</identifier>
|
||||
<version>0.0.3</version>
|
||||
<version>0.0.4</version>
|
||||
</Manifest>
|
||||
|
|
Binary file not shown.
|
@ -15,6 +15,8 @@ namespace CRIALactation
|
|||
protected override ThoughtState ShouldHaveThought(Pawn p, Pawn otherPawn)
|
||||
{
|
||||
|
||||
if (p == null || otherPawn == null) return false;
|
||||
|
||||
if (!LactationUtility.HasMilkableBreasts(otherPawn)) return false;
|
||||
|
||||
if (LactationUtility.IsHucow(otherPawn))
|
||||
|
@ -27,7 +29,7 @@ namespace CRIALactation
|
|||
|
||||
}
|
||||
|
||||
if(!otherPawn.ageTracker.Adult)
|
||||
if(otherPawn.ageTracker?.Adult == null || !otherPawn.ageTracker.Adult)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue