[Fixed] attempt to index field 'Place' (a nil value) in LandingAfterEjection

This commit is contained in:
smiki 2025-09-17 20:19:17 +02:00
parent 09e5fca1a5
commit 65d1c4187e

View File

@ -1508,7 +1508,9 @@ function EVENT:onEvent( Event )
else
if Event.place:isExist() and Object.getCategory(Event.place) ~= Object.Category.SCENERY then
Event.Place=AIRBASE:Find(Event.place)
Event.PlaceName=Event.Place:GetName()
if Event.Place then
Event.PlaceName=Event.Place:GetName()
end
end
end
end