]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Do after checks for being inside container (#39880)
authorInsoPL <lukasz.lindert@protonmail.com>
Wed, 10 Sep 2025 19:22:24 +0000 (21:22 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Sep 2025 19:22:24 +0000 (12:22 -0700)
fix

Content.Shared/DoAfter/SharedDoAfterSystem.Update.cs

index c70c7ab61e0ca30de29585087d1397c385692b8e..283a08df084fda88073ca72f03a421d76468d614 100644 (file)
@@ -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;
             }
         }