mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-22 16:05:25 +00:00
f
This commit is contained in:
@@ -1131,7 +1131,7 @@ function FLIGHTCONTROL:_CreateFlightGroup(group)
|
|||||||
self:E("FF AI no player menu")
|
self:E("FF AI no player menu")
|
||||||
else
|
else
|
||||||
self:E("FF Not purly AI ==> player menu")
|
self:E("FF Not purly AI ==> player menu")
|
||||||
self:_CreatePlayerMenu(flight)
|
--self:_CreatePlayerMenu(flight)
|
||||||
end
|
end
|
||||||
|
|
||||||
return flight
|
return flight
|
||||||
|
|||||||
@@ -747,6 +747,8 @@ function FLIGHTGROUP:onafterStop(From, Event, To)
|
|||||||
self:UnHandleEvent(EVENTS.Crash)
|
self:UnHandleEvent(EVENTS.Crash)
|
||||||
self:UnHandleEvent(EVENTS.RemoveUnit)
|
self:UnHandleEvent(EVENTS.RemoveUnit)
|
||||||
|
|
||||||
|
self.CallScheduler:Clear()
|
||||||
|
|
||||||
_DATABASE.FLIGHTGROUPS[self.groupname]=nil
|
_DATABASE.FLIGHTGROUPS[self.groupname]=nil
|
||||||
|
|
||||||
self={}
|
self={}
|
||||||
|
|||||||
Reference in New Issue
Block a user