A2G Dispatcher

Fixes issue #1303
This commit is contained in:
Frank
2020-04-08 11:54:09 +02:00
parent cb4a44b512
commit 4b369fae95
2 changed files with 2 additions and 1 deletions

View File

@@ -1063,6 +1063,7 @@ function EVENT:onEvent( Event )
if Event.id==EVENTS.LandingAfterEjection then
-- Place is here the UNIT of which the pilot ejected.
--local name=Event.place:getName() -- This returns a DCS error "Airbase doesn't exit" :(
-- However, this is not a big thing, as the aircraft the pilot ejected from is usually long crashed before the ejected pilot touches the ground.
--Event.Place=UNIT:Find(Event.place)
else
Event.Place=AIRBASE:Find(Event.place)