v1.5.7.0 (Summer Update)

This commit is contained in:
Regalis11
2024-06-18 16:49:51 +03:00
parent 4a63dacbce
commit 230d1b6e78
263 changed files with 7792 additions and 2845 deletions
@@ -13,10 +13,9 @@ namespace Barotrauma
public override Identifier Identifier { get; set; } = "rescue".ToIdentifier();
public override bool ForceRun => true;
public override bool KeepDivingGearOn => true;
public override bool AllowOutsideSubmarine => true;
public override bool AllowInAnySub => true;
public override bool AllowWhileHandcuffed => false;
protected override bool AllowOutsideSubmarine => true;
protected override bool AllowInAnySub => true;
protected override bool AllowWhileHandcuffed => false;
const float TreatmentDelay = 0.5f;
@@ -484,7 +483,7 @@ namespace Barotrauma
protected override float GetPriority()
{
if (Target == null) { Abandon = true; }
if (!IsAllowed) { HandleNonAllowed(); }
if (!IsAllowed) { HandleDisallowed(); }
if (Abandon)
{
return Priority;
@@ -531,8 +530,8 @@ namespace Barotrauma
public override void OnDeselected()
{
character.SelectedCharacter = null;
base.OnDeselected();
character.DeselectCharacter();
}
}
}