v1.5.7.0 (Summer Update)
This commit is contained in:
+3
-3
@@ -9,7 +9,7 @@ namespace Barotrauma
|
||||
public override Identifier Identifier { get; set; } = "fix leaks".ToIdentifier();
|
||||
public override bool ForceRun => true;
|
||||
public override bool KeepDivingGearOn => true;
|
||||
public override bool AllowInFriendlySubs => true;
|
||||
protected override bool AllowInFriendlySubs => true;
|
||||
|
||||
private Hull PrioritizedHull { get; set; }
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Barotrauma
|
||||
PrioritizedHull = prioritizedHull;
|
||||
}
|
||||
|
||||
protected override bool Filter(Gap gap) => IsValidTarget(gap, character);
|
||||
protected override bool IsValidTarget(Gap gap) => IsValidTarget(gap, character);
|
||||
|
||||
public static float GetLeakSeverity(Gap leak)
|
||||
{
|
||||
@@ -37,7 +37,7 @@ namespace Barotrauma
|
||||
}
|
||||
}
|
||||
|
||||
protected override float TargetEvaluation()
|
||||
protected override float GetTargetPriority()
|
||||
{
|
||||
int totalLeaks = Targets.Count;
|
||||
if (totalLeaks == 0) { return 0; }
|
||||
|
||||
Reference in New Issue
Block a user