Little refactor in GetCumsInfo

This commit is contained in:
lutepickle 2023-05-19 19:45:27 -07:00
parent ff22e534d1
commit f40a5f2246
1 changed files with 1 additions and 4 deletions

View File

@ -372,10 +372,7 @@ 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)
{ yield return string.Format("{0}: {1:0.##}ml", cum.notcum ? cum.notcumLabel : cum.pawn?.Label, cum.Volume);
if (!cum.notcum) yield return string.Format("{0}: {1:0.##}ml", cum.pawn?.Label, cum.Volume);
else yield return string.Format("{0}: {1:0.##}ml", cum.notcumLabel, cum.Volume);
}
} }
} }
public Color GetCumMixtureColor public Color GetCumMixtureColor