Remove health analyzer component references (#15322)

This commit is contained in:
DrSmugleaf
2023-04-11 17:11:02 -07:00
committed by GitHub
parent 92eda47e14
commit f474171451
9 changed files with 47 additions and 48 deletions

View File

@@ -165,8 +165,8 @@ public sealed partial class CryoPodSystem: SharedCryoPodSystem
{
_userInterfaceSystem.TrySendUiMessage(
uid,
SharedHealthAnalyzerComponent.HealthAnalyzerUiKey.Key,
new SharedHealthAnalyzerComponent.HealthAnalyzerScannedUserMessage(cryoPodComponent.BodyContainer.ContainedEntity));
HealthAnalyzerUiKey.Key,
new HealthAnalyzerScannedUserMessage(cryoPodComponent.BodyContainer.ContainedEntity));
}
private void OnInteractUsing(EntityUid uid, CryoPodComponent cryoPodComponent, InteractUsingEvent args)
@@ -205,7 +205,7 @@ public sealed partial class CryoPodSystem: SharedCryoPodSystem
else
{
RemComp<ActiveCryoPodComponent>(uid);
_uiSystem.TryCloseAll(uid, SharedHealthAnalyzerComponent.HealthAnalyzerUiKey.Key);
_uiSystem.TryCloseAll(uid, HealthAnalyzerUiKey.Key);
}
UpdateAppearance(uid, component);
}