Skip to content

Commit

Permalink
Minor adjustment to avoid potential issues
Browse files Browse the repository at this point in the history
... with prisoners wanting to leave
  • Loading branch information
jecrell committed Jan 29, 2018
1 parent bebc1c4 commit 0924f96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified Assemblies/Vampire.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/Vampires/WorldComponent_VampireTracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private static void CleanVampGuestCache()
{
HarmonyPatches.VampGuestCache.RemoveAll(
x => x.Key is Pawn p &&
(p.Dead || p.Faction == Faction.OfPlayerSilentFail ||
(p.Dead || p.Faction == Faction.OfPlayerSilentFail || p.IsPrisoner ||
(!p.Spawned && !(p.ParentHolder is Building_HideyHole))));
}

Expand Down

0 comments on commit 0924f96

Please sign in to comment.