Set orders stay in CrewCommander interface after reopening, minor changes to the interface layout
This commit is contained in:
@@ -20,6 +20,18 @@ namespace Barotrauma
|
||||
|
||||
private float updateObjectiveTimer;
|
||||
|
||||
public Order CurrentOrder
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
public string CurrentOrderOption
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
public HumanAIController(Character c) : base(c)
|
||||
{
|
||||
indoorsSteeringManager = new IndoorsSteeringManager(this, true);
|
||||
@@ -77,6 +89,8 @@ namespace Barotrauma
|
||||
|
||||
public void SetOrder(Order order, string option)
|
||||
{
|
||||
CurrentOrderOption = option;
|
||||
CurrentOrder = order;
|
||||
objectiveManager.SetOrder(order, option);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user