Files
Delta-v/Content.Server/Medical/DefibrillatorSystem.cs
T
slarticodefast 9ecb979e3b Predict defibrillators and add an integration test for them (#41572)
* 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
2026-04-04 16:57:54 +02:00

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);
}
}