tell people to report

This commit is contained in:
JohnCorby 2025-02-27 00:44:43 -08:00
parent 279c625051
commit 1c115ef9f3

View File

@ -64,7 +64,7 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
private GameObject _probePrefab;
private bool _everConnected;
private (TransportError error, string reason) _lastTransportError = (TransportError.Unexpected, "transport did not give an error. uh oh");
private (TransportError error, string reason) _lastTransportError = (TransportError.Unexpected, "transport did not give an error. uh oh. report this please!");
private static LatencySimulation _latencyTransport;
private static kcp2k.KcpTransport _kcpTransport;
@ -375,7 +375,7 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
DebugLog.DebugWrite("OnClientDisconnect");
base.OnClientDisconnect();
OnClientDisconnected?.SafeInvoke(_lastTransportError.error, _lastTransportError.reason);
_lastTransportError = (TransportError.Unexpected, "transport did not give an error. uh oh");
_lastTransportError = (TransportError.Unexpected, "transport did not give an error. uh oh. report this please!");
}
public override void OnServerDisconnect(NetworkConnectionToClient conn) // Called on the server when any client disconnects