From 7991a97ec265dbe717cae1fd4540026c5d397f92 Mon Sep 17 00:00:00 2001 From: Exp Date: Thu, 3 Sep 2020 21:54:10 +0200 Subject: [PATCH] Fix Airlock Power not restoring after cutting the wire (#2015) --- Content.Server/GameObjects/Components/Doors/AirlockComponent.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Server/GameObjects/Components/Doors/AirlockComponent.cs b/Content.Server/GameObjects/Components/Doors/AirlockComponent.cs index 64652f456f..03dabcc6c4 100644 --- a/Content.Server/GameObjects/Components/Doors/AirlockComponent.cs +++ b/Content.Server/GameObjects/Components/Doors/AirlockComponent.cs @@ -306,6 +306,7 @@ namespace Content.Server.GameObjects.Components.Doors case Wires.BackupPower: PowerWiresPulsed = true; _powerWiresPulsedTimerCancel.Cancel(); + _powerWiresPulsedTimerCancel = new CancellationTokenSource(); Timer.Spawn(PowerWiresTimeout, () => PowerWiresPulsed = false, _powerWiresPulsedTimerCancel.Token);