diff --git a/src/uncategorized/walkPast.tw b/src/uncategorized/walkPast.tw index 23e10210513cc56e79035b0323bdcd3e8c8bc64e..40f0970d1473110f7fc0b0daedf56402571544f4 100644 --- a/src/uncategorized/walkPast.tw +++ b/src/uncategorized/walkPast.tw @@ -3,7 +3,7 @@ // <<set $target = "">> <<if $familyTesting == 1 && totalRelatives($activeSlave) > 0 && random(1,100) > 80>> - <<set $relation = getRandomRelation($activeSlave)>> + <<set $relation = randomRelatedSlave($activeSlave)>> <<if $relation.mother == $activeSlave.ID || $relation.father == $activeSlave.ID>> <<set $relationType = "daughter">> <<elseif $activeSlave.mother == $relation.ID>>