From 327f217e18925d03f72b898e038592cdd548da95 Mon Sep 17 00:00:00 2001 From: InsoPL Date: Wed, 10 Sep 2025 21:22:24 +0200 Subject: [PATCH] Do after checks for being inside container (#39880) fix --- Content.Shared/DoAfter/SharedDoAfterSystem.Update.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/DoAfter/SharedDoAfterSystem.Update.cs b/Content.Shared/DoAfter/SharedDoAfterSystem.Update.cs index c70c7ab61e..283a08df08 100644 --- a/Content.Shared/DoAfter/SharedDoAfterSystem.Update.cs +++ b/Content.Shared/DoAfter/SharedDoAfterSystem.Update.cs @@ -188,7 +188,7 @@ public abstract partial class SharedDoAfterSystem : EntitySystem { if (args.DistanceThreshold != null) { - if (!_interaction.InRangeUnobstructed(args.User, args.Target.Value, args.DistanceThreshold.Value)) + if (!_interaction.InRangeAndAccessible(args.User, args.Target.Value, args.DistanceThreshold.Value)) return true; } } -- 2.51.2