Have BleedOut use the pawn-appropriate blood def

This commit is contained in:
lutepickle 2024-05-29 21:44:59 -07:00
parent cf6fd77ea8
commit f1b9d77ef0
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -1517,7 +1517,7 @@ namespace RJW_Menstruation
{
// ~1.5 per hour times acceleration
float bledAmount = Utility.VariationRange(0.03f * Configurations.BleedingAmount * Configurations.CycleAcceleration * HoursBetweenSimulations, 0.5f);
CumIn(Pawn, bledAmount, Translations.Menstrual_Blood, -5.0f, Pawn.RaceProps?.BloodDef ?? ThingDefOf.Filth_Blood);
CumIn(Pawn, bledAmount, Translations.Menstrual_Blood, -5.0f, Utility.BloodDef(Pawn));
Cum blood = GetNotCum(Translations.Menstrual_Blood);
if (blood != null) blood.Color = BloodColor;
}