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

fix for error caused by factionless nymphs

parent bdb54318
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ namespace rjw
protected override bool Satisfied(Pawn p)
{
if (xxx.is_nympho(p))
if (!p.Faction.IsPlayer)
if (p.Faction == null || !p.Faction.IsPlayer)
return false;
else
return true;
......
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