(238f46c9e) Fix bots not walking when close enough to the target (only affects go to objectives that are main objectives -> follow order).

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:43:23 +03:00
parent 3c17c976d7
commit 290e86977d
12 changed files with 475 additions and 104 deletions
@@ -702,6 +702,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