mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00: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);
|
|
}
|
|
}
|