(6807c0fa1) Reverted detector sprite sourcerect changes in 65f7be0. (Need a new texture first)

This commit is contained in:
Joonas Rikkonen
2019-04-15 12:08:53 +03:00
parent 45be409a84
commit 470b46a603

View File

@@ -223,6 +223,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