CatStation/Content.Server/Medical/DefibrillatorSystem.cs
Pieter-Jan Briers 5168b5f3d4
IoC source gen compatibility (#43863)
* IoC source gen compatibility

Can be merged before or after https://github.com/space-wizards/RobustToolbox/pull/6549 doesn't really matter.

* Missed a spot
2026-05-09 03:29:58 +00:00

19 lines
621 B
C#

using Content.Server.EUI;
using Content.Server.Ghost;
using Content.Shared.Medical;
using Content.Shared.Mind;
using Robust.Shared.Player;
namespace Content.Server.Medical;
public sealed partial class DefibrillatorSystem : SharedDefibrillatorSystem
{
[Dependency] private EuiManager _eui = default!;
[Dependency] private ISharedPlayerManager _player = default!;
[Dependency] private SharedMindSystem _mind = default!;
protected override void OpenReturnToBodyEui(Entity<MindComponent> mind, ICommonSession session)
{
_eui.OpenEui(new ReturnToBodyEui(mind, _mind, _player), session);
}
}