Fixes the nonbinary default kink not being taken into account w/ gender matching

This commit is contained in:
FatCat Client 2024-02-20 21:44:56 +01:00
parent 0d3d111f8c
commit 34ac3023ab
1 changed files with 2 additions and 0 deletions

View File

@ -746,6 +746,8 @@ export class Matcher {
Orientation.BiFemalePreference,
Orientation.BiMalePreference
].includes(yourOrientation)) {
let nonBinaryPref:KinkPreference|null = Matcher.getKinkPreference(you, Kink.Nonbinary);
if(nonBinaryPref != null) return Matcher.formatKinkScore(nonBinaryPref, 'non-binary genders');
return new Score(Scoring.MISMATCH, 'No <span>non-binary</span> genders');
}
}