(375481a35) Write save times as unix time values and display them using the system's current date format

This commit is contained in:
Joonas Rikkonen
2019-05-16 07:03:15 +03:00
parent e42a0a33a4
commit d03e1995bc
12 changed files with 147 additions and 41 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.")]