]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove holopad projection verb on station AI core (#39937)
authorCrude Oil <124208219+CroilBird@users.noreply.github.com>
Fri, 10 Oct 2025 23:52:54 +0000 (01:52 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Oct 2025 23:52:54 +0000 (23:52 +0000)
Add check for station AI's projector verb on itself

Content.Server/Holopad/HolopadSystem.cs

index 5a4f4d93ce722fe328fdf0d836cf175e348071cd..630141d0033db7490ba8b2ab5af4fbf4623cc5d5 100644 (file)
@@ -404,6 +404,9 @@ public sealed class HolopadSystem : SharedHolopadSystem
         if (!this.IsPowered(entity, EntityManager))
             return;
 
+        if (HasComp<StationAiCoreComponent>(entity))
+            return;
+
         if (!TryComp<TelephoneComponent>(entity, out var entityTelephone) ||
             _telephoneSystem.IsTelephoneEngaged((entity, entityTelephone)))
             return;