From 86fbd21ec0cb738175b365beaaf607ea8d365d4d Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Sun, 5 May 2024 05:00:40 +0300 Subject: [PATCH] reduce this annoying spam --- dll/steam_matchmaking_servers.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dll/steam_matchmaking_servers.cpp b/dll/steam_matchmaking_servers.cpp index 7fb487ea..b80de6a5 100644 --- a/dll/steam_matchmaking_servers.cpp +++ b/dll/steam_matchmaking_servers.cpp @@ -806,7 +806,9 @@ void Steam_Matchmaking_Servers::RunCallbacks() } } - PRINT_DEBUG("requests count = %zu, servers count = %zu", requests.size(), gameservers.size()); + if (requests.size() || gameservers.size()) { + PRINT_DEBUG("requests count = %zu, servers count = %zu", requests.size(), gameservers.size()); + } for (auto &r : requests) { if (r.cancelled || r.completed) continue; @@ -822,7 +824,6 @@ void Steam_Matchmaking_Servers::RunCallbacks() } std::vector requests_temp(requests); - PRINT_DEBUG("%zu", requests_temp.size()); for (auto &r : requests) { r.completed = true; }