Fix firelock occlusion.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user