This commit is contained in:
Skull Merlin 2022-03-05 02:53:22 +03:00 committed by GitHub
parent 60e2098f0e
commit 8e65524f85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,14 +378,6 @@ namespace server_list
if (!game::environment::is_mp()) return;
localized_strings::override("PLATFORM_SYSTEM_LINK_TITLE", "SERVER LIST");
localized_strings::override("MENU_NUMPLAYERS", "Players");
// small command until ui scripting
command::add("openServerList", []()
{
refresh_server_list();
command::execute("lui_open menu_systemlink_join\n");
});
// hook LUI_OpenMenu to refresh server list for system link menu
lui_open_menu_hook.create(game::LUI_OpenMenu, lui_open_menu_stub);
@ -448,4 +440,4 @@ namespace server_list
};
}
REGISTER_COMPONENT(server_list::component)
REGISTER_COMPONENT(server_list::component)