Merge pull request #2387 from shaji-Dev/master

LandingAfterEjection error
This commit is contained in:
Thomas 2025-09-18 06:47:01 +02:00 committed by GitHub
commit 5e8676cf8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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