Compare commits

..

2 commits

Author SHA1 Message Date
Zsar
33b4d5a799 Merge branch 'animalOnAnimalFix' into 'master'
Draft: fix issue #2 "Exception on animal mating"

Closes #2

See merge request AbstractConcept/privacy-please!2
2023-04-14 12:39:25 +00:00
Zsar
68c7246ef7 fix issue #2 "Exception on animal mating"
+ function SexInteractionUtility::getBestialityRoles extracted from functions SexActIsBestialityWithOrdinaryAnimal, SexActIsBestialityWithSpecialAnimal
2023-04-14 14:39:05 +02:00

View file

@ -163,8 +163,8 @@ namespace Privacy_Please
*/ */
var target = jobDriver.Partner; var target = jobDriver.Partner;
if (actor.IsAnimal() && target.IsColonist) return (true, target, actor); if (actor.IsAnimal() && target.RaceProps.Humanlike) return (true, target, actor);
else if (actor.IsColonist && target.IsAnimal()) return (true, actor, target); else if (actor.RaceProps.Humanlike && target.IsAnimal()) return (true, actor, target);
return nope; return nope;
} }