fix soap popup (#27054)

fix soap
This commit is contained in:
MisterMecky 2024-04-18 09:17:18 +08:00 committed by GitHub
parent 66f32d4289
commit 4453fe50cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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))