Fix defib "return to body" prompt. (#18376)

This commit is contained in:
Pieter-Jan Briers
2023-07-27 21:13:17 +02:00
committed by GitHub
parent 1d1918f034
commit 7e5d03a1a8
2 changed files with 6 additions and 3 deletions

View File

@@ -8,13 +8,14 @@ namespace Content.Server.Ghost;
public sealed class ReturnToBodyEui : BaseEui
{
[Dependency] private readonly MindSystem _mindSystem = default!;
private readonly MindSystem _mindSystem;
private readonly Mind.Mind _mind;
public ReturnToBodyEui(Mind.Mind mind)
public ReturnToBodyEui(Mind.Mind mind, MindSystem mindSystem)
{
_mind = mind;
_mindSystem = mindSystem;
}
public override void HandleMessage(EuiMessageBase msg)