Replace Position with PositionHeld and Map with MapHeld
This commit is contained in:
parent
259201ec54
commit
d67592e245
|
@ -1524,8 +1524,8 @@ namespace RJW_Menstruation
|
||||||
/// <param name="amount"></param>
|
/// <param name="amount"></param>
|
||||||
protected void MakeCumFilth(Cum cum, float amount)
|
protected void MakeCumFilth(Cum cum, float amount)
|
||||||
{
|
{
|
||||||
if (Pawn.Map == null) return;
|
if (Pawn.MapHeld == null) return;
|
||||||
if (amount >= minmakefilthvalue) FilthMaker.TryMakeFilth(Pawn.Position, Pawn.Map, cum.FilthDef, cum.pawn?.LabelShort ?? "Unknown");
|
if (amount >= minmakefilthvalue) FilthMaker.TryMakeFilth(Pawn.PositionHeld, Pawn.MapHeld, cum.FilthDef, cum.pawn?.LabelShort ?? "Unknown");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -1563,10 +1563,10 @@ namespace RJW_Menstruation
|
||||||
|
|
||||||
protected float MakeCumFilthMixture(float amount, List<string> cumlabels)
|
protected float MakeCumFilthMixture(float amount, List<string> cumlabels)
|
||||||
{
|
{
|
||||||
if (Pawn.Map == null) return 0;
|
if (Pawn.MapHeld == null) return 0;
|
||||||
if (amount >= minmakefilthvalue)
|
if (amount >= minmakefilthvalue)
|
||||||
{
|
{
|
||||||
FilthMaker_Colored.TryMakeFilth(Pawn.Position, Pawn.Map, VariousDefOf.FilthMixture, cumlabels, GetCumMixtureColor, false);
|
FilthMaker_Colored.TryMakeFilth(Pawn.PositionHeld, Pawn.MapHeld, VariousDefOf.FilthMixture, cumlabels, GetCumMixtureColor, false);
|
||||||
}
|
}
|
||||||
return amount;
|
return amount;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue