From fd9894164f7f04f151fab8c8a73efaf47e1502c6 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Thu, 2 May 2024 18:00:01 +1200 Subject: [PATCH] Fix Gas Analyzers not opening (#27610) --- Content.Server/Atmos/EntitySystems/GasAnalyzerSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Atmos/EntitySystems/GasAnalyzerSystem.cs b/Content.Server/Atmos/EntitySystems/GasAnalyzerSystem.cs index 15e1dde4ec..b42f362629 100644 --- a/Content.Server/Atmos/EntitySystems/GasAnalyzerSystem.cs +++ b/Content.Server/Atmos/EntitySystems/GasAnalyzerSystem.cs @@ -95,9 +95,9 @@ namespace Content.Server.Atmos.EntitySystems component.Enabled = true; Dirty(uid, component); UpdateAppearance(uid, component); - if (!HasComp(uid)) - AddComp(uid); + EnsureComp(uid); UpdateAnalyzer(uid, component); + OpenUserInterface(uid, user, component); } ///