Remove holopad projection verb on station AI core (#39937)

Add check for station AI's projector verb on itself
This commit is contained in:
Crude Oil 2025-10-11 01:52:54 +02:00 committed by Vanessa
parent 2a18bb524e
commit 5cd3ba3a20
1 changed files with 3 additions and 0 deletions

View 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;