From c1cfe8d45ee8d4f03fa6a3b1a326b0a72b2e6667 Mon Sep 17 00:00:00 2001 From: Raphael Bertoche Date: Wed, 4 Oct 2023 22:47:41 -0300 Subject: [PATCH] Removes unnecessary message for defibbing a patient which has ghosted (#20690) * Removes unnecessary message for defibbing a patient which has ghosted This message is for the defib operator. It could inform them that the patient doesn't have a consciousness since it's ghosted but maybe no message is really the right move here because it may have succeeded and that would be what would happen had the defib attempt succeeded - no message. Also when the patient's ghost return to body there they will be alive as long as the body is still alive, so telling the operator to defib again may be wrong. * Removes corresponding ftl message which doesn't occur now --- Content.Server/Medical/DefibrillatorSystem.cs | 2 -- Resources/Locale/en-US/medical/components/defibrillator.ftl | 1 - 2 files changed, 3 deletions(-) diff --git a/Content.Server/Medical/DefibrillatorSystem.cs b/Content.Server/Medical/DefibrillatorSystem.cs index d80d8bdb65..4ffa9f558d 100644 --- a/Content.Server/Medical/DefibrillatorSystem.cs +++ b/Content.Server/Medical/DefibrillatorSystem.cs @@ -230,8 +230,6 @@ public sealed class DefibrillatorSystem : EntitySystem // notify them they're being revived. if (mind.CurrentEntity != target) { - _chatManager.TrySendInGameICMessage(uid, Loc.GetString("defibrillator-ghosted"), - InGameICChatType.Speak, true); _euiManager.OpenEui(new ReturnToBodyEui(mind, _mind), session); } } diff --git a/Resources/Locale/en-US/medical/components/defibrillator.ftl b/Resources/Locale/en-US/medical/components/defibrillator.ftl index 9304a07a45..1c32dd801d 100644 --- a/Resources/Locale/en-US/medical/components/defibrillator.ftl +++ b/Resources/Locale/en-US/medical/components/defibrillator.ftl @@ -1,4 +1,3 @@ defibrillator-not-on = The defibrillator isn't turned on. defibrillator-no-mind = No intelligence pattern can be detected in patient's brain. Further attempts futile. -defibrillator-ghosted = Resuscitation failed - Mental interface error. Further attempts may be successful. defibrillator-rotten = Body decomposition detected: resuscitation failed.