Move hard-coded gender pronouns from TextManager to Texts.xml
This commit is contained in:
@@ -178,7 +178,7 @@ namespace Barotrauma
|
||||
}
|
||||
}
|
||||
|
||||
endMessage += (TextManager.ReplaceGenderNouns(TextManager.Get(messageTag), traitorCharacter.Info.Gender) + "\n")
|
||||
endMessage += (TextManager.ReplaceGenderPronouns(TextManager.Get(messageTag), traitorCharacter.Info.Gender) + "\n")
|
||||
.Replace("[traitorname]", traitorCharacter.Name)
|
||||
.Replace("[targetname]", targetCharacter.Name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user