diff --git a/src/npc/interaction/passage/fSlaveImpreg.js b/src/npc/interaction/passage/fSlaveImpreg.js index fbc706735b34147d1dd77fc04bef28663b090fdd..ca912b74ee684874bb5970a0b80110f10c1ca26b 100644 --- a/src/npc/interaction/passage/fSlaveImpreg.js +++ b/src/npc/interaction/passage/fSlaveImpreg.js @@ -11,7 +11,7 @@ App.Interact.fSlaveImpregChoosePartner = class extends App.Interact.BaseChoosePa } renderDetail(candidate, container) { - const kinship = ibc.kinship(candidate.ID, this.slave.ID); + const kinship = ibc.kinship(candidate, this.slave); if (V.inbreeding && kinship > 0) { let adj = ""; if (kinship >= 0.5) { diff --git a/tsconfig.json b/tsconfig.json index 2700b989a42888a3df54b1e201285dd85c036a5f..39224e2d7b9efd8dc5070d43163114cb992d8a13 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,8 @@ "noEmit": true, "target": "es2021", "noImplicitAny": false, - "disableSizeLimit": true + "disableSizeLimit": true, + "strictBindCallApply": true }, "include": [ "js/**/*.js",