Singulo field gen power fix + powered collide fix (#10443)
* Connected check * Power gen fix
This commit is contained in:
@@ -133,7 +133,7 @@ namespace Content.Server.Singularity.EntitySystems
|
||||
!EntityManager.HasComponent<StationDataComponent>(entity) && // these SHOULD be in null-space... but just in case. Also, maybe someone moves a singularity there..
|
||||
(component.Level > 4 ||
|
||||
!EntityManager.HasComponent<ContainmentFieldComponent>(entity) &&
|
||||
!EntityManager.HasComponent<ContainmentFieldGeneratorComponent>(entity));
|
||||
!(EntityManager.TryGetComponent<ContainmentFieldGeneratorComponent>(entity, out var fieldGen) && fieldGen.IsConnected));
|
||||
}
|
||||
|
||||
private void HandleDestroy(ServerSingularityComponent component, EntityUid entity)
|
||||
|
||||
Reference in New Issue
Block a user