From 25e2da2b917a70801ce43fcca9e828438a276b3d Mon Sep 17 00:00:00 2001 From: MetalStormGhost Date: Sat, 1 Jun 2024 16:45:15 +0300 Subject: [PATCH] Pretense should always use Client slots. --- game/pretense/pretenseaircraftgenerator.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/game/pretense/pretenseaircraftgenerator.py b/game/pretense/pretenseaircraftgenerator.py index dce749da..82b8151d 100644 --- a/game/pretense/pretenseaircraftgenerator.py +++ b/game/pretense/pretenseaircraftgenerator.py @@ -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: