(877db615c) Set find safety priority to 100 when the current hull is null.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:27:33 +03:00
parent 8621d9927e
commit ab49749f8b
9 changed files with 262 additions and 142 deletions
@@ -261,7 +261,7 @@ namespace Barotrauma
if (character.CurrentHull == null)
{
currenthullSafety = 0;
Priority = 5;
Priority = 100;
return;
}
if (character.OxygenAvailable < CharacterHealth.LowOxygenThreshold) { Priority = 100; }