(bd2976a16) Add some automatic orders.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:15:52 +03:00
parent 82d74f7481
commit bbce41fab0
8 changed files with 352 additions and 68 deletions
@@ -774,6 +774,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