Callsign not used when flight starts mid-mission

This commit is contained in:
Raffson 2024-02-16 20:47:31 +01:00
parent e0aeabb63a
commit 08c007b7bf
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -243,6 +243,8 @@ class FlightGroupSpawner:
speed=speed.kph,
maintask=None,
group_size=self.flight.count,
callsign_name=self.flight.callsign.name if self.flight.callsign else None,
callsign_nr=self.flight.callsign.nr if self.flight.callsign else None,
)
group.points[0].alt_type = alt_type