- Improved behaviour when mission is unpaused and groups are teleported
This commit is contained in:
Frank
2025-06-10 21:58:19 +02:00
parent 95767c5ef4
commit 2a9a7db9b8
3 changed files with 10 additions and 2 deletions

View File

@@ -2002,6 +2002,9 @@ function FLIGHTGROUP:onafterElementAirborne(From, Event, To, Element)
-- Debug info.
self:T2(self.lid..string.format("Element airborne %s", Element.name))
-- Set parking spot to free. Also for FC. This is usually done after taxiing but doing it here in case the group is teleported.
self:_SetElementParkingFree(Element)
-- Set element status.
self:_UpdateStatus(Element, OPSGROUP.ElementStatus.AIRBORNE)