From e56e080a496f34769a675a94f0025b27a7f54e15 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Tue, 25 Feb 2025 15:09:14 -0800 Subject: [PATCH] ignore spam --- SteamTransport/Client.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SteamTransport/Client.cs b/SteamTransport/Client.cs index 8d924c74..5bf0131a 100644 --- a/SteamTransport/Client.cs +++ b/SteamTransport/Client.cs @@ -119,7 +119,8 @@ public class Client public void Flush() { var result = SteamNetworkingSockets.FlushMessagesOnConnection(_conn); - if (result != EResult.k_EResultOK) _transport.Log($"[warn] flush returned {result}"); + if (result != EResult.k_EResultOK && result != EResult.k_EResultIgnored) // flush does ignored when connecting. ignore cuz spam + _transport.Log($"[warn] flush returned {result}"); } public void Close()