(c6ca0ef58) Recreate objectives when the bot is dismissed.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:11:49 +03:00
parent de8a23f687
commit dbccd76613
13 changed files with 158 additions and 33 deletions
@@ -24,8 +24,6 @@ namespace Barotrauma
private bool removed;
private bool removed;
#if CLIENT
private List<Decal> burnDecals = new List<Decal>();
#endif
@@ -527,6 +527,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