From 2fe5db9498f8355d9c35a7e238602a37f53af827 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Sun, 10 Oct 2021 15:58:17 +0200 Subject: [PATCH] Fixed airlocks not autoclosing anymore. AutoClose is true by default now. --- Content.Server/Doors/Components/ServerDoorComponent.cs | 2 +- Resources/Changelog/Parts/airlock.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 Resources/Changelog/Parts/airlock.yml diff --git a/Content.Server/Doors/Components/ServerDoorComponent.cs b/Content.Server/Doors/Components/ServerDoorComponent.cs index adc0dd2a57..4728177716 100644 --- a/Content.Server/Doors/Components/ServerDoorComponent.cs +++ b/Content.Server/Doors/Components/ServerDoorComponent.cs @@ -176,7 +176,7 @@ namespace Content.Server.Doors.Components /// Should this door automatically close if its been open for too long? /// [DataField("autoClose")] - public bool AutoClose; + public bool AutoClose = true; /// /// Default time that the door should take to pry open. diff --git a/Resources/Changelog/Parts/airlock.yml b/Resources/Changelog/Parts/airlock.yml new file mode 100644 index 0000000000..60b7760145 --- /dev/null +++ b/Resources/Changelog/Parts/airlock.yml @@ -0,0 +1,4 @@ +author: Zumorica +changes: + - type: Fix # One of the following: Add, Remove, Tweak, Fix + message: Fix airlocks not auto-closing anymore.