]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
AI now "can" use media console (#32334)
authorAsnDen <75905158+AsnDen@users.noreply.github.com>
Sun, 22 Sep 2024 08:20:49 +0000 (11:20 +0300)
committerGitHub <noreply@github.com>
Sun, 22 Sep 2024 08:20:49 +0000 (18:20 +1000)
Content.Server/MassMedia/Systems/NewsSystem.cs

index 899e9419930d4e739882d525eace678aed424830..3ac4ecc37bcf9ea6206895bffcc295ade351e7de 100644 (file)
@@ -309,9 +309,6 @@ public sealed class NewsSystem : SharedNewsSystem
 
     private bool CanUse(EntityUid user, EntityUid console)
     {
-        // This shouldn't technically be possible because of BUI but don't trust client.
-        if (!_interaction.InRangeUnobstructed(console, user))
-            return false;
 
         if (TryComp<AccessReaderComponent>(console, out var accessReaderComponent))
         {