@@ -166,11 +166,12 @@ public sealed class ContainmentFieldGeneratorSystem : EntitySystem
|
|||||||
ChangeFieldVisualizer(value.Item1);
|
ChangeFieldVisualizer(value.Item1);
|
||||||
}
|
}
|
||||||
component.Connections.Clear();
|
component.Connections.Clear();
|
||||||
|
if (component.IsConnected)
|
||||||
|
_popupSystem.PopupEntity(Loc.GetString("comp-containment-disconnected"), uid, PopupType.LargeCaution);
|
||||||
component.IsConnected = false;
|
component.IsConnected = false;
|
||||||
ChangeOnLightVisualizer(generator);
|
ChangeOnLightVisualizer(generator);
|
||||||
ChangeFieldVisualizer(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
|
_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
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user