From ef7244b8747cde1368a281fbe1e9b862d425cff6 Mon Sep 17 00:00:00 2001 From: Vigers Ray Date: Fri, 18 Apr 2025 04:16:48 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D0=B0=D0=BF=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=B8=D0=BC=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Server/Mindshield/MindShieldSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/Mindshield/MindShieldSystem.cs b/Content.Server/Mindshield/MindShieldSystem.cs index 80af9b419c..d9db75d1ce 100644 --- a/Content.Server/Mindshield/MindShieldSystem.cs +++ b/Content.Server/Mindshield/MindShieldSystem.cs @@ -4,6 +4,7 @@ using Content.Server.Popups; using Content.Server.Roles; using Content.Shared.Database; using Content.Shared.Implants; +using Content.Shared.Implants.Components; using Content.Shared.Mindshield.Components; using Content.Shared.Revolutionary.Components; using Robust.Shared.Containers; @@ -42,7 +43,7 @@ public sealed class MindShieldSystem : EntitySystem // Sunrise-Start public void ImplantCheck(EntityUid uid, SubdermalImplantComponent comp, ref ImplantEjectEvent ev) { - if (_tag.HasTag(ev.Implant, MindShieldTag) && ev.Implanted != null) + if (HasComp(ev.Implant) && ev.Implanted != null) { RemCompDeferred(ev.Implanted.Value); }