fix soap popup (#27054)

fix soap

(cherry picked from commit 4453fe50cfdd380f76f2c41d314e6c7ecce729fb)
This commit is contained in:
MisterMecky 2024-04-18 09:17:18 +08:00 committed by NullWanderer
parent 31adcfdce5
commit b748f3633e
No known key found for this signature in database
GPG Key ID: 212F05528FD678BE
1 changed files with 1 additions and 1 deletions

View 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))