(0ac981d7a) Fixed wrong sprites on weapons and ballast icon labels

This commit is contained in:
Joonas Rikkonen
2019-04-15 13:43:21 +03:00
parent 8f310256b5
commit 4fae57916a

View File

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