Merge pull request #328 from FatCatClient/enby-prefs

Fixes the nonbinary default kink not being taken into account w/ gender matching
This commit is contained in:
hearmeneigh 2024-07-05 17:43:21 -07:00 committed by GitHub
commit a87907c1db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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');
}
}