(5f61edb68) Allow to issue orders in single player while not controlling any character (freecam debug).

This commit is contained in:
Joonas Rikkonen
2019-06-04 15:35:45 +03:00
parent eb7097d1a3
commit a83532f7a9
2 changed files with 11 additions and 3 deletions
@@ -234,6 +234,7 @@ namespace Barotrauma
switch (order.AITag.ToLowerInvariant())
{
case "follow":
if (orderGiver == null) { return null; }
newObjective = new AIObjectiveGoTo(orderGiver, character, this, repeat: true, priorityModifier: priorityModifier)
{
CloseEnough = 150,