(d762b9ca6) Refresh visible hulls once per second.

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:50:06 +03:00
parent d81457e3ef
commit 4c0adb145d
12 changed files with 479 additions and 58 deletions
@@ -87,6 +87,27 @@ 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.")]
public string RoomName