mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Allow prisoners to use buckets
This commit is contained in:
parent
6652d7e1a6
commit
9789c97612
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue