Fix windoors not autoclosing

Fixes #4902
This commit is contained in:
Kara D
2021-10-28 22:38:36 -07:00
parent 9244411f5c
commit 78005f8e9e
3 changed files with 7 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ namespace Content.Server.Doors.Components
public float AutoCloseDelayModifier = 1.0f;
[ViewVariables(VVAccess.ReadWrite)]
[DataField("safety")]
public bool Safety = true;
protected override void Initialize()

View File

@@ -0,0 +1,4 @@
author: mirrorcult
changes:
- type: Fix # One of the following: Add, Remove, Tweak, Fix
message: Fix certain windoors not autoclosing.

View File

@@ -60,6 +60,8 @@
- type: AccessReader
- type: Airlock
openPanelVisible: true
# needed so that windoors will close regardless of whether there are people in it; it doesn't crush after all
safety: false
- type: Door
weldable: false
crushDamage: