diff --git a/CHANGELOG.md b/CHANGELOG.md index 79666c4..9bec863 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,11 @@ ## Canary * Fixed a caching issue that caused cache misses on character page metadata * Fixed rate limit issues that sometimes disconnected characters when multiple characters were connected +* Fixed a bug in age matching * URL preview fixes for Redgifs, Gelbooru, Tumblr, and Gifmixxx * All dependencies are now up to date * F-Chat Rising now flushes character profiles out of its cache after 30 days +* Age difference for 'older' and 'younger' character kinks is now 8 years ## 1.0.1 diff --git a/learn/matcher.ts b/learn/matcher.ts index 525fb8f..e7c18cc 100644 --- a/learn/matcher.ts +++ b/learn/matcher.ts @@ -664,10 +664,10 @@ export class Matcher { const youngerCharactersScore = Matcher.getKinkPreference(you, Kink.YoungerCharacters); const ageDifference = Math.abs(yourAge - theirAge); - if ((yourAge < theirAge) && (olderCharactersScore !== null) && (ageDifference >= 4)) + if ((yourAge < theirAge) && (olderCharactersScore !== null) && (ageDifference >= 8)) return Matcher.formatKinkScore(olderCharactersScore, 'older characters'); - if ((yourAge > theirAge) && (youngerCharactersScore !== null) && (ageDifference <= 4)) + if ((yourAge > theirAge) && (youngerCharactersScore !== null) && (ageDifference >= 8)) return Matcher.formatKinkScore(youngerCharactersScore, 'younger characters'); }