Fixed a type assignment in pretensecargo.py

This commit is contained in:
MetalStormGhost 2023-09-16 20:57:11 +03:00
parent 2e889325e1
commit f4c5c96fba

View File

@ -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: