mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 03:32:47 +00:00
make disconnect message more verbose lol (copy straight from the transport)
This commit is contained in:
parent
0df6ab887a
commit
3fc1724d0e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user