(5269b5857) tweaks

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:58:09 +03:00
parent 3fc539d373
commit 42d4b5bfcd
12 changed files with 217 additions and 49 deletions
+18 -1
View File
@@ -81,7 +81,24 @@ namespace Barotrauma
public readonly List<Gap> ConnectedGaps = new List<Gap>();
public readonly List<Gap> ConnectedGaps = new List<Gap>();
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 string DisplayName
{
get;
private set;
}
private string roomName;
[Editable, Serialize("", true, translationTextTag: "RoomName.")]