mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-02-15 00:34:44 +01:00
* cleanup * fix fixtures * prediction * fix test * review * fix svalinn visuals * fix chargers * fix portable recharger and its unlit visuals * fix borgs * oomba review * fix examination prediction * predict * readd zapping interacting mobs
20 lines
640 B
C#
20 lines
640 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 class DefibrillatorSystem : SharedDefibrillatorSystem
|
|
{
|
|
[Dependency] private readonly EuiManager _eui = default!;
|
|
[Dependency] private readonly ISharedPlayerManager _player = default!;
|
|
[Dependency] private readonly SharedMindSystem _mind = default!;
|
|
|
|
protected override void OpenReturnToBodyEui(Entity<MindComponent> mind, ICommonSession session)
|
|
{
|
|
_eui.OpenEui(new ReturnToBodyEui(mind, _mind, _player), session);
|
|
}
|
|
}
|