make disconnect message more verbose lol (copy straight from the transport)

This commit is contained in:
JohnCorby 2023-06-10 12:39:25 -07:00
parent 0df6ab887a
commit 3fc1724d0e

View File

@ -225,7 +225,7 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
// hack
if (s == "KcpPeer: received disconnect message")
{
OnClientError(TransportError.ConnectionClosed, "host disconnected");
OnClientError(TransportError.ConnectionClosed, s);
}
};
kcp2k.Log.Warning = s => DebugLog.DebugWrite("[KCP] " + s, MessageType.Warning);