Skip to content
Snippets Groups Projects
Commit aad420aa authored by Ed86's avatar Ed86
Browse files

fix for rape check

parent 46dedc87
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ namespace rjw
{
//Log.Message("[RJW] JobGiver_AIRapePrisoner::TryGiveJob( " + xxx.get_pawnname(pawn) + " ) called ");
if (xxx.can_rape(pawn)) return null;
if (!xxx.can_rape(pawn)) return null;
if (SexUtility.ReadyForLovin(pawn) || xxx.need_some_sex(pawn) > 1f)
{
......
......@@ -24,7 +24,7 @@ namespace rjw
//if (pawn.health.hediffSet.HasHediff(HediffDef.Named("Hediff_RapeEnemyCD")) || !pawn.health.capacities.CanBeAwake || (SexUtility.ReadyForLovin(pawn) || xxx.is_human(pawn) ? xxx.need_some_sex(pawn) <= 1f : false))
return null;
if (xxx.can_rape(pawn)) return null;
if (!xxx.can_rape(pawn)) return null;
//Log.Message("[RJW] JobGiver_RapeEnemy::TryGiveJob( " + xxx.get_pawnname(pawn) + " ) can rape");
JobDef_RapeEnemy rapeEnemyJobDef = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment