Add performance option to not cull threatening IADS (#1953)

- Don't cull EWRs in detection range.
- Don't cull SAMs within threat range + small buffer.
This commit is contained in:
SnappyComebacks
2022-02-05 18:38:25 -07:00
committed by GitHub
parent ac5d20ff82
commit 3987f26689
4 changed files with 39 additions and 5 deletions

View File

@@ -95,7 +95,7 @@ class GenericGroundObjectGenerator(Generic[TgoT]):
@property
def culled(self) -> bool:
return self.game.position_culled(self.ground_object.position)
return self.game.iads_considerate_culling(self.ground_object)
def generate(self) -> None:
if self.culled: