From: InsoPL Date: Wed, 10 Sep 2025 19:22:24 +0000 (+0200) Subject: Do after checks for being inside container (#39880) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=327f217e18925d03f72b898e038592cdd548da95;p=space-station-14.git Do after checks for being inside container (#39880) fix --- 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; } }