Allow prisoners to use buckets

This commit is contained in:
amevarashi 2022-04-27 10:37:40 +05:00
parent 6652d7e1a6
commit 9789c97612

View file

@ -227,9 +227,9 @@ namespace RJWSexperience
var log = LogManager.GetLogger<DebugLogProvider>("RJW_Patch_CasualSex_Helper_FindSexLocation");
log.Message($"Called for {pawn.NameShortColored}");
if (!pawn.Faction?.IsPlayer ?? true)
if (pawn.Faction?.IsPlayer != true && !pawn.IsPrisonerOfColony)
{
log.Message("Not player faction");
log.Message("Not a player's faction or a prisoner");
return true;
}