mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Added a check for masturbation, fixes #99
This commit is contained in:
parent
daee7c747f
commit
0c139f2eff
5 changed files with 17 additions and 4 deletions
|
@ -30,6 +30,12 @@ namespace RJW_Genes.Genes.Special
|
|||
return;
|
||||
}
|
||||
|
||||
if (props.pawn == props.partner || props.sexType == xxx.rjwSextype.Masturbation || props.sexType == xxx.rjwSextype.None)
|
||||
{
|
||||
// This case was reported but is a bit strange, I hardened it after reports in #99
|
||||
return;
|
||||
}
|
||||
|
||||
if (GeneUtility.IsYouthFountain(props.pawn))
|
||||
{
|
||||
ChangeAgeForPawn(props.partner, props.pawn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue