mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Destroyed scenery object cannot be inspected with all the methods. SceneryObject:getTypeName() goes into CTD with the scenery has been destroyed. The problem was in the event handler (Event.lua). This is fixed by checking if the SceneryObject exists before getting the type name. If it does not exist, the type name is filled with "SCENERY".