Removed redundant data from AICharacter update messages, fixed startlocation name being shown for endlocation on nav terminals

This commit is contained in:
Regalis
2016-10-31 21:01:01 +02:00
parent eb2c51c2f1
commit 9b29c52a1b
3 changed files with 7 additions and 36 deletions
@@ -130,7 +130,7 @@ namespace Barotrauma.Items.Components
levelEndTickBox = new GUITickBox(
new Rectangle(5, 90, 15, 15),
GameMain.GameSession == null ? "" : ToolBox.LimitString(GameMain.GameSession.StartLocation.Name, 20),
GameMain.GameSession == null ? "" : ToolBox.LimitString(GameMain.GameSession.EndLocation.Name, 20),
Alignment.TopLeft, GUI.SmallFont, GuiFrame);
levelEndTickBox.Enabled = false;
levelEndTickBox.OnSelected = SelectDestination;