ignore spam

This commit is contained in:
JohnCorby 2025-02-25 15:09:14 -08:00
parent 6d17a5fffa
commit e56e080a49

View File

@ -119,7 +119,8 @@ public class Client
public void Flush() public void Flush()
{ {
var result = SteamNetworkingSockets.FlushMessagesOnConnection(_conn); 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() public void Close()