(ec7e0c3d1) Take stuck and open doors into account when evaluating path access.
This commit is contained in:
@@ -320,6 +320,8 @@ namespace Barotrauma
|
||||
var door = node.ConnectedDoor;
|
||||
if (door != null)
|
||||
{
|
||||
if (door.IsOpen) { return true; }
|
||||
if (door.IsStuck) { return false; }
|
||||
if (door.HasIntegratedButtons)
|
||||
{
|
||||
if (!door.HasRequiredItems(character, false))
|
||||
|
||||
Reference in New Issue
Block a user