Fix firelock occlusion.

This commit is contained in:
Víctor Aguilera Puerto
2020-11-07 23:58:33 +01:00
parent 54e0747577
commit 50f03a5b17
2 changed files with 2 additions and 7 deletions

View File

@@ -44,11 +44,6 @@ namespace Content.Server.GameObjects.Components.Atmos
AutoClose = false;
Safety = false;
if (Occludes && Owner.TryGetComponent(out OccluderComponent occluder))
{
occluder.Enabled = false;
}
State = DoorState.Open;
SetAppearance(DoorVisualState.Open);
}

View File

@@ -24,6 +24,7 @@
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: Physics
on: false
shapes:
- !type:PhysShapeAabb
bounds: "-0.49,-0.49,0.49,0.49" # don't want this colliding with walls or they won't close
@@ -54,6 +55,7 @@
- type: Airtight
fixVacuum: true
- type: Occluder
enabled: false
- type: SnapGrid
offset: Center
placement:
@@ -80,8 +82,6 @@
- type: Firelock
occludes: false
canCrush: false
- type: Occluder
enabled: false
- type: Sprite
sprite: Constructible/Structures/Doors/edge_door_hazard.rsi
- type: Airtight