mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* 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
19 lines
621 B
C#
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);
|
|
}
|
|
}
|