mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Avoid targeting convoys if disabled
This commit is contained in:
parent
81f459c571
commit
ace3af8f50
@ -178,6 +178,8 @@ class ObjectiveFinder:
|
||||
return self._targets_by_range(airfields)
|
||||
|
||||
def convoys(self) -> Iterator[Convoy]:
|
||||
if self.game.settings.perf_disable_convoys:
|
||||
return
|
||||
for front_line in self.front_lines():
|
||||
yield from self.game.coalition_for(
|
||||
self.is_player
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user