From 992beb5f4524fedaa76420c7e7d2499adfa953ae Mon Sep 17 00:00:00 2001 From: MetalStormGhost Date: Sat, 16 Sep 2023 20:57:11 +0300 Subject: [PATCH] Fixed a type assignment in pretensecargo.py --- game/ato/flightplans/pretensecargo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/ato/flightplans/pretensecargo.py b/game/ato/flightplans/pretensecargo.py index f980b5f7..f5d86170 100644 --- a/game/ato/flightplans/pretensecargo.py +++ b/game/ato/flightplans/pretensecargo.py @@ -44,7 +44,7 @@ class PretenseCargoFlightPlan(StandardFlightPlan[FerryLayout]): class Builder(IBuilder[PretenseCargoFlightPlan, FerryLayout]): def layout(self) -> FerryLayout: # Find the spawn location for off-map transport planes - distance_to_flot = 0 + distance_to_flot = 0.0 heading_from_flot = 0.0 offmap_transport_cp_id = self.flight.departure.id for front_line_cp in self.coalition.game.theater.controlpoints: