(b97c9eb63) Restore the escape velocity condition: don't run to walls.

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:54:31 +03:00
parent 2a1ed98226
commit 4c4cac9c39
17 changed files with 274 additions and 52 deletions
@@ -440,6 +440,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