This commit is contained in:
Frank
2020-01-21 16:40:07 +01:00
parent e509eb3d35
commit 33d86bd081
2 changed files with 17 additions and 0 deletions
@@ -756,6 +756,11 @@ function FLIGHTCONTROL:_RemoveFlightFromQueue(queue, flight, queuename)
if qflight.groupname==flight.groupname then
self:I(self.lid..string.format("Removing flight group %s from %s queue.", flight.groupname, queuename))
table.remove(queue, i)
if not flight.ai then
flight:_UpdateMenu()
end
return true, i
end
end