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