v1.6.17.0 (Unto the Breach update)
This commit is contained in:
@@ -298,7 +298,7 @@ namespace Barotrauma.Items.Components
|
||||
controlledSub = sonar.ConnectedTransducers.Any() ? sonar.ConnectedTransducers.First().Item.Submarine : null;
|
||||
}
|
||||
|
||||
if (Voltage < MinVoltage) { return; }
|
||||
if (!HasPower) { return; }
|
||||
|
||||
if (user != null && user.Removed)
|
||||
{
|
||||
@@ -311,7 +311,7 @@ namespace Barotrauma.Items.Components
|
||||
if (user != null && controlledSub != null &&
|
||||
(user.SelectedItem == item || item.linkedTo.Contains(user.SelectedItem)))
|
||||
{
|
||||
userSkill = user.GetSkillLevel("helm") / 100.0f;
|
||||
userSkill = user.GetSkillLevel(Tags.HelmSkill) / 100.0f;
|
||||
}
|
||||
|
||||
// override autopilot pathing while the AI rams, and go full speed ahead
|
||||
|
||||
Reference in New Issue
Block a user