fixed issue 8, breast sized will now get properly applied.

This commit is contained in:
Shabakur 2022-12-24 10:57:19 +01:00
parent 7e7e7e5e17
commit 7bf8efb00d
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -58,7 +58,7 @@ namespace RJW_Genes
public static void AdjustAllBreastSizes(Pawn pawn, float lowerLimit = 0.0f, float upperLimit = 1.0f)
{
List<Hediff> AllBreasts = Genital_Helper.get_AllPartsHediffList(pawn).FindAll(x => x.def.defName.Contains("breasts"));
List<Hediff> AllBreasts = Genital_Helper.get_AllPartsHediffList(pawn).FindAll(x => x.def.defName.ToLower().Contains("breasts"));
ResizeAll(AllBreasts,lowerLimit,upperLimit);
}