BUI changes required for Engine PR (#10608)

This commit is contained in:
Leon Friedrich
2022-08-21 05:38:30 +12:00
committed by GitHub
parent 25093f5146
commit 921e2ee57d
69 changed files with 79 additions and 86 deletions

View File

@@ -21,6 +21,7 @@ namespace Content.Server.Atmos.EntitySystems
base.Initialize();
SubscribeLocalEvent<GasAnalyzableComponent, GetVerbsEvent<ExamineVerb>>(OnGetExamineVerbs);
SubscribeLocalEvent<GasAnalyzerComponent, BoundUIClosedEvent>((_,c,_) => c.UpdateAppearance(false));
}
private void OnGetExamineVerbs(EntityUid uid, GasAnalyzableComponent component, GetVerbsEvent<ExamineVerb> args)