From 053a1287c91d34e61a63129b59095303d63e4767 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Mon, 7 Mar 2022 19:33:11 -0800 Subject: [PATCH] Fix missing key in combat display. --- client/src/components/combat/Combat.tsx | 3 ++- game/ato/flightstate/killed.py | 35 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 game/ato/flightstate/killed.py diff --git a/client/src/components/combat/Combat.tsx b/client/src/components/combat/Combat.tsx index d1112b70..8f9f0ea2 100644 --- a/client/src/components/combat/Combat.tsx +++ b/client/src/components/combat/Combat.tsx @@ -29,9 +29,10 @@ function CombatLines(props: CombatProps) { const flightPosition: LatLng = props.combat.flight_position; return ( <> - {props.combat.target_positions.map((position) => { + {props.combat.target_positions.map((position, idx) => { return ( None: + return + + @property + def is_waiting_for_start(self) -> bool: + return False + + def estimate_position(self) -> Point: + return self.flight.arrival.position + + @property + def spawn_type(self) -> StartType: + # TODO: May want to do something different to make these uncontrolled? + return StartType.COLD + + @property + def description(self) -> str: + return "Completed"