mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Pretense should always use Client slots.
This commit is contained in:
parent
b801136145
commit
25e2da2b91
@ -92,9 +92,8 @@ class PretenseAircraftGenerator:
|
||||
@cached_property
|
||||
def use_client(self) -> bool:
|
||||
"""True if Client should be used instead of Player."""
|
||||
blue_clients = self.client_slots_in_ato(self.game.blue.ato)
|
||||
red_clients = self.client_slots_in_ato(self.game.red.ato)
|
||||
return blue_clients + red_clients > 1
|
||||
"""Pretense should always use Client slots."""
|
||||
return True
|
||||
|
||||
@staticmethod
|
||||
def client_slots_in_ato(ato: AirTaskingOrder) -> int:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user