when using the "selectComponent" mode to open the MapMenu,
an error is returned preventing ships from getting listed.
the mode definition is specified in the MapMenu file as:
Code: Select all
"selectComponent", param: { returnsection, classlist[, category][, playerowned][, customheading] }
when using that mode to open the map with ship classes like so:
Code: Select all
<open_conversation_menu menu="MapMenu" param="[0, 0, true, player.entity, null, 'selectComponent', ['kTFTR_set_destination', [class.ship_s, class.ship_m, class.ship_l, class.ship_xl, class.station], null, true]]" />
only stations are listed because the C.FilterComponentForMapMode () in checkForSelectComponent () returns the error:
Code: Select all
[=ERROR=] 282601.58 SetupFilterForMapMode(): Given class on idx '1' is nullptr.
Mods: RPG: Reputations and Professions, Social Standings and Citizenships, Crime has Consequences, Alternatives to Death. Missions/NPCs: Emergent Missions, NPC Reactions, Mod Parts Trader, High-sec Rooms are Locked, Hacking Outcomes, More Generic Missions, Waypoint Fields for Deployment. Others: Auto-cam, Friendly Fire Tweaks, Teleport From Transporter Room, Wear and Tear. QoL: Trade Analytics, Loot Mining, Ship Scanner, Signal Leak Hunter, Station Scanner, Surface Element Targeting, etc.