diff --git a/Content.Shared/Silicons/StationAi/SharedStationAiSystem.Airlock.cs b/Content.Shared/Silicons/StationAi/SharedStationAiSystem.Airlock.cs index 37e5cd6e6aed9c..ca2d593dbe1c09 100644 --- a/Content.Shared/Silicons/StationAi/SharedStationAiSystem.Airlock.cs +++ b/Content.Shared/Silicons/StationAi/SharedStationAiSystem.Airlock.cs @@ -34,7 +34,7 @@ private void OnAirlockBolt(EntityUid ent, DoorBoltComponent component, StationAi } /// - /// 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 @@ private void OnAirlockEmergencyAccess(EntityUid ent, AirlockComponent component, } /// - /// 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 189515635a82ba..5fca5cad280d9d 100644 --- a/Content.Shared/Silicons/StationAi/SharedStationAiSystem.cs +++ b/Content.Shared/Silicons/StationAi/SharedStationAiSystem.cs @@ -394,6 +394,9 @@ private void AttachEye(Entity ent) private void OnAiInsert(Entity ent, ref EntInsertedIntoContainerMessage args) { + if (args.Container.ID != StationAiCoreComponent.Container) + return; + if (_timing.ApplyingState) return;