Fix a bunch of compiler warnings (#10518)
This commit is contained in:
@@ -19,7 +19,6 @@ namespace Content.Server.Singularity.EntitySystems
|
||||
[Dependency] private readonly IMapManager _mapManager = default!;
|
||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||
[Dependency] private readonly PVSOverrideSystem _pvs = default!;
|
||||
[Dependency] private readonly ContainmentFieldGeneratorSystem _fieldGeneratorSystem = default!;
|
||||
/// <summary>
|
||||
/// How much energy the singulo gains from destroying a tile.
|
||||
/// </summary>
|
||||
@@ -131,7 +130,7 @@ namespace Content.Server.Singularity.EntitySystems
|
||||
return entity != component.Owner &&
|
||||
!EntityManager.HasComponent<IMapGridComponent>(entity) &&
|
||||
!EntityManager.HasComponent<GhostComponent>(entity) &&
|
||||
!EntityManager.HasComponent<StationDataComponent>(entity) && // these SHOULD be in null-space... but just in case. Also, maybe someone moves a singularity there..
|
||||
!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));
|
||||
|
||||
Reference in New Issue
Block a user