]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix soap popup (#27054)
authorMisterMecky <mrmecky@hotmail.com>
Thu, 18 Apr 2024 01:17:18 +0000 (09:17 +0800)
committerGitHub <noreply@github.com>
Thu, 18 Apr 2024 01:17:18 +0000 (21:17 -0400)
fix soap

Content.Server/Forensics/Systems/ForensicsSystem.cs

index a9ef23a2f58c0f20941f4ef92f4af1348313d7a5..1445e253f38dabfd359702250c5b9e7ce90571bb 100644 (file)
@@ -103,7 +103,7 @@ namespace Content.Server.Forensics
 
         private void OnAfterInteract(EntityUid uid, CleansForensicsComponent component, AfterInteractEvent args)
         {
-            if (args.Handled)
+            if (args.Handled || !args.CanReach)
                 return;
 
             if (!TryComp<ForensicsComponent>(args.Target, out var forensicsComp))