@@ -34,7 +34,7 @@ public abstract partial class SharedStationAiSystem
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
private void OnAirlockEmergencyAccess(EntityUid ent, AirlockComponent component, StationAiEmergencyAccessEvent args)
|
||||
{
|
||||
@@ -48,7 +48,7 @@ public abstract partial class SharedStationAiSystem
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
private void OnElectrified(EntityUid ent, ElectrifiedComponent component, StationAiElectrifiedEvent args)
|
||||
{
|
||||
|
||||
@@ -394,6 +394,9 @@ public abstract partial class SharedStationAiSystem : EntitySystem
|
||||
|
||||
private void OnAiInsert(Entity<StationAiCoreComponent> ent, ref EntInsertedIntoContainerMessage args)
|
||||
{
|
||||
if (args.Container.ID != StationAiCoreComponent.Container)
|
||||
return;
|
||||
|
||||
if (_timing.ApplyingState)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user