(a83cec9d6) Made room names translatable, added "RoomName." to all room names in EnglishVanilla.xml

This commit is contained in:
Joonas Rikkonen
2019-04-15 12:06:58 +03:00
parent 0f2e09b65e
commit 66de47f041
10 changed files with 38 additions and 19 deletions
@@ -83,7 +83,7 @@ namespace Barotrauma
if (character.SelectedCharacter == null)
{
character?.Speak(TextManager.Get("DialogFoundUnconsciousTarget")
.Replace("[targetname]", targetCharacter.Name).Replace("[roomname]", character.CurrentHull.RoomName),
.Replace("[targetname]", targetCharacter.Name).Replace("[roomname]", character.CurrentHull.DisplayName),
null, 1.0f,
"foundunconscioustarget" + targetCharacter.Name, 60.0f);
}