Remove holopad projection verb on station AI core (#39937)
Add check for station AI's projector verb on itself
This commit is contained in:
parent
2a18bb524e
commit
5cd3ba3a20
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue