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
@@ -178,7 +178,7 @@ namespace Barotrauma
{
if (GameMain.NetworkMember != null && Character.controlled == this)
{
string chatMessage = TextManager.Get("Self_CauseOfDeath." + causeOfDeath.ToString());
string chatMessage = TextManager.Get("Self_CauseOfDeathDescription." + causeOfDeath.ToString());
if (GameMain.Client != null) chatMessage += " Your chat messages will only be visible to other dead players.";
GameMain.NetworkMember.AddChatMessage(chatMessage, ChatMessageType.Dead);