fix(session_browser): decrease session limit (#954)
This commit is contained in:
parent
b87d4e0e1b
commit
12fceace86
@ -5,7 +5,7 @@ namespace big
|
||||
class matchmaking_service
|
||||
{
|
||||
public:
|
||||
constexpr static int MAX_SESSIONS_TO_FIND = 1400;
|
||||
constexpr static int MAX_SESSIONS_TO_FIND = 1057;
|
||||
|
||||
struct session_attributes
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ namespace big
|
||||
static char search[64];
|
||||
static char session_info[255];
|
||||
|
||||
ImGui::Text(std::format("Total sessions found: {}", g_matchmaking_service->get_num_found_sessions()).data());
|
||||
|
||||
ImGui::SetNextItemWidth(300.f);
|
||||
|
||||
if (ImGui::ListBoxHeader("###sessions", { 300, static_cast<float>(*g_pointers->m_resolution_y - 400 - 38 * 4) }))
|
||||
|
Reference in New Issue
Block a user