(ae643deeb) Added alive checks to a couple of diving gear status effects (don't consume tanks when dead)
This commit is contained in:
@@ -297,7 +297,13 @@ namespace Barotrauma
|
||||
CreateStairBodies();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Only add ai targets automatically to walls
|
||||
if (aiTarget == null && HasBody && Tags.Contains("wall"))
|
||||
{
|
||||
aiTarget = new AITarget(this);
|
||||
}
|
||||
|
||||
InsertToList();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user