mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-23 17:12:35 +08:00
Many different fixes (#2749)
* fix(BytePatch): regression in world spawn bypass introduced in #2669 * fix(View/Network): session join options not updating after language change * fix(RapidFire): prevent game from crashing by filling up the bullet pool * refactor(Settings): don't save certain settings that users usually don't want to have enabled * fix(CustomWeapons): render weapon names properly * fix(reaction): names don't appear in chat
This commit is contained in:
@ -63,7 +63,7 @@ namespace big
|
||||
if (announce_in_chat)
|
||||
{
|
||||
g_fiber_pool->queue_job([player, this] {
|
||||
auto chat = std::format("{} {}", g.session.chat_output_prefix, g_translation_service.get_translation(m_announce_message));
|
||||
auto chat = std::format("{} {}", g.session.chat_output_prefix, std::vformat(g_translation_service.get_translation(m_announce_message), std::make_format_args(player->get_name())));
|
||||
|
||||
if (g_hooking->get_original<hooks::send_chat_message>()(*g_pointers->m_gta.m_send_chat_ptr,
|
||||
g_player_service->get_self()->get_net_data(),
|
||||
|
Reference in New Issue
Block a user