(8cbc4391a) Disable find safety while going somewhere in the sea with an order.

This commit is contained in:
Joonas Rikkonen
2019-05-18 17:30:46 +03:00
parent 7155525d5b
commit 1e85abf09d
3 changed files with 50 additions and 2 deletions
@@ -46,7 +46,7 @@ namespace Barotrauma
if (character.CurrentHull == null)
{
currenthullSafety = 0;
Priority = 100;
Priority = objectiveManager.CurrentOrder is AIObjectiveGoTo ? 0 : 100;
return;
}
if (character.OxygenAvailable < CharacterHealth.LowOxygenThreshold) { Priority = 100; }