(49f837fbb) Fix: operate battery or pump should not be looping objectives.
This commit is contained in:
+1
-1
@@ -48,6 +48,6 @@ namespace Barotrauma
|
||||
}
|
||||
|
||||
protected override AIObjective ObjectiveConstructor(PowerContainer battery)
|
||||
=> new AIObjectiveOperateItem(battery, character, objectiveManager, Option, false, priorityModifier: PriorityModifier) { IsLoop = true };
|
||||
=> new AIObjectiveOperateItem(battery, character, objectiveManager, Option, false, priorityModifier: PriorityModifier) { IsLoop = false };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user