fix: #25102 cryo pod now uses health-analyzer system to update body state in UI (#25109)

* fix: cryo pod now uses health-analyzer system to update body state in UI

* refactor: use EntityEventRefHandler instead ComponentEventRefHandler in CryoPodComponent subscribe on EntRemovedFromContainerMessage

---------

Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
This commit is contained in:
Fildrance
2024-02-21 17:47:23 +03:00
committed by GitHub
parent a18e2c0547
commit ef849a0156
3 changed files with 21 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ namespace Content.Server.Medical.Components;
/// After scanning, retrieves the target Uid to use with its related UI.
/// </summary>
[RegisterComponent]
[Access(typeof(HealthAnalyzerSystem))]
[Access(typeof(HealthAnalyzerSystem), typeof(CryoPodSystem))]
public sealed partial class HealthAnalyzerComponent : Component
{
/// <summary>