(566a98ad3) Fixed docking button usage not being synced

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:36:55 +03:00
parent 037ef71ce9
commit d21ccf5ecd
11 changed files with 273 additions and 240 deletions
@@ -531,6 +531,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