(8cbc4391a) Disable find safety while going somewhere in the sea with an order.
This commit is contained in:
@@ -663,7 +663,7 @@ namespace Barotrauma
|
||||
{
|
||||
CurrentHullSafety = 0;
|
||||
}
|
||||
return 0;
|
||||
return CurrentHullSafety;
|
||||
}
|
||||
if (character == Character)
|
||||
{
|
||||
|
||||
+1
-1
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user