diff --git a/Content.Server/AI/Pathfinding/PathfindingNode.cs b/Content.Server/AI/Pathfinding/PathfindingNode.cs index b5eaab7d45..fb9a3238f6 100644 --- a/Content.Server/AI/Pathfinding/PathfindingNode.cs +++ b/Content.Server/AI/Pathfinding/PathfindingNode.cs @@ -276,7 +276,7 @@ namespace Content.Server.AI.Pathfinding DebugTools.Assert((PathfindingSystem.TrackedCollisionLayers & physicsComponent.CollisionLayer) != 0); - if (physicsComponent.BodyType == BodyType.Static) + if (physicsComponent.BodyType != BodyType.Static) { _physicsLayers.Add(entity, physicsComponent.CollisionLayer); }