diff --git a/src/js/releaseRules.js b/src/js/releaseRules.js index e16e71cac7e98ea7233a9e7f3156962923b418a5..ccef20a828e710491338997a7910f7fec00fdcb5 100644 --- a/src/js/releaseRules.js +++ b/src/js/releaseRules.js @@ -42,7 +42,7 @@ App.Utils.hasFamilySex = function hasFamilySex(slave) { if (V.seeIncest === 0 || slave.rules.release.family === 0) { return false; } - return jsDef(randomRelatedSlave(slave, (s) => this.sexAllowed(slave, s))); + return V.slaves.some(s => areRelated(slave, s) && this.sexAllowed(slave, s)); }; /**