(9c4e324eb) Fixed chat messages going slightly off-frame on top of the in-game chat box.

This commit is contained in:
Joonas Rikkonen
2019-05-16 07:04:27 +03:00
parent 851e6f76cd
commit ce05d50a2b
10 changed files with 216 additions and 72 deletions
+18 -1
View File
@@ -83,7 +83,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.")]