@@ -166,11 +166,12 @@ public sealed class ContainmentFieldGeneratorSystem : EntitySystem
|
||||
ChangeFieldVisualizer(value.Item1);
|
||||
}
|
||||
component.Connections.Clear();
|
||||
if (component.IsConnected)
|
||||
_popupSystem.PopupEntity(Loc.GetString("comp-containment-disconnected"), uid, PopupType.LargeCaution);
|
||||
component.IsConnected = false;
|
||||
ChangeOnLightVisualizer(generator);
|
||||
ChangeFieldVisualizer(generator);
|
||||
_adminLogger.Add(LogType.FieldGeneration, LogImpact.Medium, $"{ToPrettyString(uid)} lost field connections"); // Ideally LogImpact would depend on if there is a singulo nearby
|
||||
_popupSystem.PopupEntity(Loc.GetString("comp-containment-disconnected"), uid, PopupType.LargeCaution);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user