diff --git a/Content.Shared/Silicons/StationAi/SharedStationAiSystem.Airlock.cs b/Content.Shared/Silicons/StationAi/SharedStationAiSystem.Airlock.cs index 37e5cd6e6a..ca2d593dbe 100644 --- a/Content.Shared/Silicons/StationAi/SharedStationAiSystem.Airlock.cs +++ b/Content.Shared/Silicons/StationAi/SharedStationAiSystem.Airlock.cs @@ -34,7 +34,7 @@ public abstract partial class SharedStationAiSystem } /// - /// Attempts to bolt door. If wire was cut (AI) or its not powered - notifies AI and does nothing. + /// Attempts to toggle the door's emergency access. If wire was cut (AI) or its not powered - notifies AI and does nothing. /// private void OnAirlockEmergencyAccess(EntityUid ent, AirlockComponent component, StationAiEmergencyAccessEvent args) { @@ -48,7 +48,7 @@ public abstract partial class SharedStationAiSystem } /// - /// Attempts to bolt door. If wire was cut (AI or for one of power-wires) or its not powered - notifies AI and does nothing. + /// Attempts to electrify the door. If wire was cut (AI or for one of power-wires) or its not powered - notifies AI and does nothing. /// private void OnElectrified(EntityUid ent, ElectrifiedComponent component, StationAiElectrifiedEvent args) { diff --git a/Content.Shared/Silicons/StationAi/SharedStationAiSystem.cs b/Content.Shared/Silicons/StationAi/SharedStationAiSystem.cs index 189515635a..5fca5cad28 100644 --- a/Content.Shared/Silicons/StationAi/SharedStationAiSystem.cs +++ b/Content.Shared/Silicons/StationAi/SharedStationAiSystem.cs @@ -394,6 +394,9 @@ public abstract partial class SharedStationAiSystem : EntitySystem private void OnAiInsert(Entity ent, ref EntInsertedIntoContainerMessage args) { + if (args.Container.ID != StationAiCoreComponent.Container) + return; + if (_timing.ApplyingState) return;