minor
This commit is contained in:
		
							parent
							
								
									a87907c1db
								
							
						
					
					
						commit
						b3e0f8217d
					
				| @ -1,6 +1,10 @@ | |||||||
| # Changelog | # Changelog | ||||||
| 
 | 
 | ||||||
| ## Canary | ## Canary | ||||||
|  | * 'Non-binary' kink is now respected in gender matching  (credit: [@FatCatClient](https://github.com/FatCatClient)) | ||||||
|  | * OpenMoji is now treated as a fallback font  (credit: [@FatCatClient](https://github.com/FatCatClient)) | ||||||
|  | *  | ||||||
|  | 
 | ||||||
| * Add high-quality portraits to Profile Helper | * Add high-quality portraits to Profile Helper | ||||||
| * FBot should always be a UNICORN match | * FBot should always be a UNICORN match | ||||||
| * FBot should have extra buttons to help one-handed | * FBot should have extra buttons to help one-handed | ||||||
|  | |||||||
| @ -746,8 +746,12 @@ export class Matcher { | |||||||
|                     Orientation.BiFemalePreference, |                     Orientation.BiFemalePreference, | ||||||
|                     Orientation.BiMalePreference |                     Orientation.BiMalePreference | ||||||
|                 ].includes(yourOrientation)) { |                 ].includes(yourOrientation)) { | ||||||
|                     let nonBinaryPref:KinkPreference|null = Matcher.getKinkPreference(you, Kink.Nonbinary); |                     const nonBinaryPref = Matcher.getKinkPreference(you, Kink.Nonbinary); | ||||||
|                     if(nonBinaryPref != null) return Matcher.formatKinkScore(nonBinaryPref, 'non-binary genders'); | 
 | ||||||
|  |                     if(nonBinaryPref) { | ||||||
|  |                         return Matcher.formatKinkScore(nonBinaryPref, 'non-binary genders'); | ||||||
|  |                     } | ||||||
|  | 
 | ||||||
|                     return new Score(Scoring.MISMATCH, 'No <span>non-binary</span> genders'); |                     return new Score(Scoring.MISMATCH, 'No <span>non-binary</span> genders'); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
| @ -1093,8 +1097,9 @@ export class Matcher { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     static getKinkGenderPreference(c: Character, gender: Gender): KinkPreference | null { |     static getKinkGenderPreference(c: Character, gender: Gender): KinkPreference | null { | ||||||
|         if (!(gender in genderKinkMapping)) |         if (!(gender in genderKinkMapping)) { | ||||||
|             return null; |             return null; | ||||||
|  |         } | ||||||
| 
 | 
 | ||||||
|         return Matcher.getKinkPreference(c, genderKinkMapping[gender]); |         return Matcher.getKinkPreference(c, genderKinkMapping[gender]); | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user