From 005da78522013160bc6d29558176a24428a666bb Mon Sep 17 00:00:00 2001 From: m Date: Tue, 1 Mar 2022 11:53:23 -0600 Subject: [PATCH] fix joining servers --- src/client/component/server_list.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/component/server_list.cpp b/src/client/component/server_list.cpp index c93317bd..76c68058 100644 --- a/src/client/component/server_list.cpp +++ b/src/client/component/server_list.cpp @@ -313,7 +313,6 @@ namespace server_list const auto dedicated = std::atoi(info.get("dedicated").data()); if (!dedicated) { - printf("not dedi\n"); return; } @@ -379,7 +378,7 @@ namespace server_list // replace UI_RunMenuScript call in LUI_CoD_LuaCall_RefreshServerList to our refresh_servers utils::hook::call(0x14018A0C9, &refresh_server_list); - utils::hook::call(0x14018A5E3, &join_server); + utils::hook::call(0x14018A5DE, &join_server); utils::hook::nop(0x14018A5FD, 5); // do feeder stuff