Format GetCumsInfo's return a little better

This commit is contained in:
lutepickle 2022-09-10 07:51:31 -07:00
parent 523a6a166c
commit a0b2e224bc

View file

@ -283,8 +283,8 @@ namespace RJW_Menstruation
if (cums.NullOrEmpty()) yield return Translations.Info_noCum; if (cums.NullOrEmpty()) yield return Translations.Info_noCum;
else foreach (Cum cum in cums) else foreach (Cum cum in cums)
{ {
if (!cum.notcum) yield return String.Format(cum.pawn?.Label + ": {0:0.##}ml", cum.Volume); if (!cum.notcum) yield return string.Format("{0}: {1:0.##}ml", cum.pawn?.Label, cum.Volume);
else yield return String.Format(cum.notcumLabel + ": {0:0.##}ml", cum.Volume); else yield return string.Format("{0}: {1:0.##}ml", cum.notcumLabel, cum.Volume);
} }
} }
} }