From 2c2e52d952014f86b84ca7695047eeb939c00ad4 Mon Sep 17 00:00:00 2001 From: Skull <86374920+skkuull@users.noreply.github.com> Date: Mon, 12 Sep 2022 23:42:29 +0300 Subject: [PATCH] use command instead [skip ci] --- src/client/component/party.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/component/party.cpp b/src/client/component/party.cpp index 7bf83a18..9f15e333 100644 --- a/src/client/component/party.cpp +++ b/src/client/component/party.cpp @@ -226,7 +226,7 @@ namespace party console::error("%s\n", error.data()); if (game::Menu_IsMenuOpenAndVisible(0, "popup_acceptinginvite")) { - utils::hook::invoke(0x26BE80_b, 0, "popup_acceptinginvite", 0, *game::hks::lua_state); // LUI_LeaveMenuByName + command::execute("lui_close popup_acceptinginvite", false); } utils::hook::invoke(0x17D770_b, error.data(), "MENU_NOTICE"); // Com_SetLocalizedErrorMessage