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; AutoClose = false;
Safety = false; Safety = false;
if (Occludes && Owner.TryGetComponent(out OccluderComponent occluder))
{
occluder.Enabled = false;
}
State = DoorState.Open; State = DoorState.Open;
SetAppearance(DoorVisualState.Open); SetAppearance(DoorVisualState.Open);
} }

View File

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