| 309 | } |
| 310 | |
| 311 | void Scene_Map::StartPendingTeleport(TeleportParams tp) { |
| 312 | auto& transition = Transition::instance(); |
| 313 | |
| 314 | if (!transition.IsErasedNotActive() && tp.erase_screen) { |
| 315 | transition.InitErase(Main_Data::game_system->GetTransition(Main_Data::game_system->Transition_TeleportErase), this); |
| 316 | } |
| 317 | |
| 318 | AsyncNext([=]() { FinishPendingTeleport(tp); }); |
| 319 | } |
| 320 | |
| 321 | void Scene_Map::FinishPendingTeleport(TeleportParams tp) { |
| 322 | auto old_map_id = Game_Map::GetMapId(); |
nothing calls this directly
no test coverage detected