(84bcafc68) Added "text picker menu" to ItemMsgs, replace """ with a quotation mark in texts

This commit is contained in:
Joonas Rikkonen
2019-04-15 12:08:39 +03:00
parent 21a1b05ae7
commit 45be409a84
3 changed files with 21 additions and 1 deletions
@@ -204,6 +204,25 @@ namespace Barotrauma
}
}
public string DisplayName
{
get;
private set;
}
private string roomName;
[Editable, Serialize("", true, translationTextTag: "RoomName.")]
public string RoomName
{
get { return roomName; }
set
{
if (roomName == value) { return; }
roomName = value;
DisplayName = TextManager.Get(roomName, returnNull: true) ?? roomName;
}
}
public override Rectangle Rect
{
get