Remove collision from disposal pipes (#1958)

Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
This commit is contained in:
Julian Giebel
2020-08-30 11:10:14 +02:00
committed by GitHub
parent b4fc79bcc8
commit 38b9a5a901
2 changed files with 0 additions and 18 deletions

View File

@@ -197,8 +197,6 @@ namespace Content.Server.GameObjects.Components.Disposal
return; return;
} }
collidable.CanCollide = !collidable.Anchored;
if (collidable.Anchored) if (collidable.Anchored)
{ {
OnAnchor(); OnAnchor();
@@ -237,8 +235,6 @@ namespace Content.Server.GameObjects.Components.Disposal
var collidable = Owner.EnsureComponent<CollidableComponent>(); var collidable = Owner.EnsureComponent<CollidableComponent>();
collidable.AnchoredChanged += AnchoredChanged; collidable.AnchoredChanged += AnchoredChanged;
collidable.CanCollide = !collidable.Anchored;
} }
protected override void Startup() protected override void Startup()

View File

@@ -10,20 +10,6 @@
- type: InteractionOutline - type: InteractionOutline
- type: Collidable - type: Collidable
anchored: true anchored: true
shapes:
- !type:PhysShapeAabb
bounds: "-0.3,-0.3,0.3,0.3"
mask:
- Impassable
- MobImpassable
- VaultImpassable
- SmallImpassable
layer:
- Opaque
- Impassable
- MobImpassable
- VaultImpassable
- SmallImpassable
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: Anchorable - type: Anchorable