Fix Gas Analyzers not opening (#27610)
This commit is contained in:
parent
2cc879bb1c
commit
4d9825de64
|
|
@ -95,9 +95,9 @@ namespace Content.Server.Atmos.EntitySystems
|
|||
component.Enabled = true;
|
||||
Dirty(uid, component);
|
||||
UpdateAppearance(uid, component);
|
||||
if (!HasComp<ActiveGasAnalyzerComponent>(uid))
|
||||
AddComp<ActiveGasAnalyzerComponent>(uid);
|
||||
EnsureComp<ActiveGasAnalyzerComponent>(uid);
|
||||
UpdateAnalyzer(uid, component);
|
||||
OpenUserInterface(uid, user, component);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue