| 337 | } |
| 338 | |
| 339 | void AiInterface::startMission() { |
| 340 | if (m_selectedMission) { |
| 341 | auto const& mission = m_aiDatabase->mission(*m_selectedMission); |
| 342 | m_client->warpPlayer( |
| 343 | WarpToWorld{InstanceWorldId(mission.missionUniqueWorld, m_client->teamUuid()), {}}, |
| 344 | true, |
| 345 | mission.warpAnimation.value("default"), |
| 346 | mission.warpDeploy.value(false)); |
| 347 | dismiss(); |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | void AiInterface::populateCrew() { |
| 352 | m_crewListWidget->clear(); |
nothing calls this directly
no test coverage detected