More hard-coded text removal, fixed StatusHUD displaying husk infection state incorrectly

This commit is contained in:
Joonas Rikkonen
2018-01-12 13:17:22 +02:00
parent 6edbe5de1f
commit 03bff643f8
4 changed files with 84 additions and 32 deletions
@@ -88,7 +88,7 @@ namespace Barotrauma
Character character = characterInfo.Character;
if (character == null || character.IsDead)
{
statusText = TextManager.Get("CauseOfDeath." + characterInfo.CauseOfDeath.ToString());
statusText = TextManager.Get("CauseOfDeathDescription." + characterInfo.CauseOfDeath.ToString());
statusColor = Color.DarkRed;
}
else