(40f4f67f8) Further changes to the calculations.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:06:49 +03:00
parent b7272e1c96
commit 2a0e289a59
19 changed files with 122 additions and 34 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