mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-12-11 20:15:10 +01:00
tell people to report
This commit is contained in:
parent
279c625051
commit
1c115ef9f3
@ -64,7 +64,7 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
|
|||||||
private GameObject _probePrefab;
|
private GameObject _probePrefab;
|
||||||
private bool _everConnected;
|
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 LatencySimulation _latencyTransport;
|
||||||
private static kcp2k.KcpTransport _kcpTransport;
|
private static kcp2k.KcpTransport _kcpTransport;
|
||||||
@ -375,7 +375,7 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
|
|||||||
DebugLog.DebugWrite("OnClientDisconnect");
|
DebugLog.DebugWrite("OnClientDisconnect");
|
||||||
base.OnClientDisconnect();
|
base.OnClientDisconnect();
|
||||||
OnClientDisconnected?.SafeInvoke(_lastTransportError.error, _lastTransportError.reason);
|
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
|
public override void OnServerDisconnect(NetworkConnectionToClient conn) // Called on the server when any client disconnects
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user