]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove inaccessible code (#41209)
authorConnor Huffine <chuffine@gmail.com>
Fri, 31 Oct 2025 01:14:54 +0000 (21:14 -0400)
committerGitHub <noreply@github.com>
Fri, 31 Oct 2025 01:14:54 +0000 (01:14 +0000)
Remove false check

Content.Server/Mindshield/MindShieldSystem.cs

index bc5b65159b862b963528928c8cbd3896557d6e02..f69e7b45fba5db33cfe850f54e6504658f4589ad 100644 (file)
@@ -32,9 +32,6 @@ public sealed class MindShieldSystem : EntitySystem
 
     private void OnImplantImplanted(Entity<MindShieldImplantComponent> ent, ref ImplantImplantedEvent ev)
     {
-        if (ev.Implanted == null)
-            return;
-
         EnsureComp<MindShieldComponent>(ev.Implanted);
         MindShieldRemovalCheck(ev.Implanted, ev.Implant);
     }