From f660b29100b59705eba7de6eae5283c077b5de21 Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Mon, 6 May 2024 21:16:45 +0300 Subject: [PATCH] decrease this spam debug message --- dll/steam_matchmaking.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dll/steam_matchmaking.cpp b/dll/steam_matchmaking.cpp index 27e87874..f22d0768 100644 --- a/dll/steam_matchmaking.cpp +++ b/dll/steam_matchmaking.cpp @@ -57,7 +57,9 @@ Lobby* Steam_Matchmaking::get_lobby(CSteamID id) void Steam_Matchmaking::send_lobby_data() { - PRINT_DEBUG("lobbies %zu", lobbies.size()); + if (lobbies.size()) { + PRINT_DEBUG("lobbies %zu", lobbies.size()); + } for(auto & l: lobbies) { if (get_lobby_member(&l, settings->get_local_steam_id()) && l.owner() == settings->get_local_steam_id().ConvertToUint64() && !l.deleted()) {