diff --git a/src/views/players/view_player.cpp b/src/views/players/view_player.cpp index 531313c4..901db1af 100644 --- a/src/views/players/view_player.cpp +++ b/src/views/players/view_player.cpp @@ -37,7 +37,8 @@ namespace big { name_appendage += std::format(" [{}]", "TRUST"_T); } - strcpy(player_tab.name, std::format("{} ({}){}", current_player->get_name(), current_player->id(), name_appendage).c_str()); + strcpy(player_tab.name, + std::format("{} ({}){}", current_player->get_name(), current_player->id(), name_appendage).c_str()); view::player_info(); ImGui::SameLine(); @@ -51,5 +52,7 @@ namespace big ImGui::SameLine(); view::player_vehicle(); } + else + g_gui_service->set_selected(tabs::NONE); } -} \ No newline at end of file +}