mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Update pronouns.py
This commit is contained in:
parent
e129e5682c
commit
1c4cf58f12
1 changed files with 2 additions and 2 deletions
|
|
@ -407,8 +407,8 @@ def pronoun_to_viewpoints(
|
|||
|
||||
# step down into the mapping
|
||||
viewpoint_map = PRONOUN_MAPPING[viewpoint]
|
||||
pronouns = viewpoint_map.get(pronoun_type) or viewpoint_map.get(DEFAULT_PRONOUN_TYPE)
|
||||
mapped_pronoun = pronouns.get(gender) or pronouns.get(DEFAULT_GENDER)
|
||||
pronouns = viewpoint_map.get(pronoun_type, viewpoint_map[DEFAULT_PRONOUN_TYPE])
|
||||
mapped_pronoun = pronouns.get(gender, pronouns[DEFAULT_GENDER])
|
||||
|
||||
# keep the same capitalization as the original
|
||||
if pronoun != "I":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue