mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-07-15 23:07:59 +08:00
fix: 'Copy Session Info' button not working (#1855)
This commit is contained in:
@ -55,7 +55,7 @@ namespace big
|
||||
|
||||
components::button("COPY_SESSION_INFO"_T, [] {
|
||||
char buf[0x100]{};
|
||||
g_pointers->m_gta.m_encode_session_info(>a_util::get_network()->m_game_session.m_rline_session.m_session_info, buf, 0xA9, nullptr);
|
||||
g_pointers->m_gta.m_encode_session_info(>a_util::get_network()->m_last_joined_session.m_session_info, buf, 0xA9, nullptr);
|
||||
ImGui::SetClipboardText(buf);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user