(fc5e081d3) Fixed: Hull names not saving properly in submarineditor
This commit is contained in:
@@ -100,7 +100,8 @@ namespace Barotrauma
|
||||
objectiveManager.GetObjective<AIObjectiveIdle>()?.Wander(deltaTime);
|
||||
return;
|
||||
}
|
||||
if (character.CanInteractWith(targetItem, out _, checkLinked: false))
|
||||
if (moveToTarget.CurrentHull == character.CurrentHull &&
|
||||
Vector2.DistanceSquared(character.Position, moveToTarget.Position) < MathUtils.Pow(targetItem.InteractDistance, 2))
|
||||
{
|
||||
if (IsTakenBySomeone(targetItem))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user