mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-12-11 20:15:10 +01:00
ignore spam
This commit is contained in:
parent
6d17a5fffa
commit
e56e080a49
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user