FakeByte / EpicOnlineTransport

A Transport for Mirror using Epic Online Services
MIT License
252 stars 52 forks source link

Fixed OnClientDisconnected not invoked when client is null #43

Closed DanielTizon closed 1 year ago

DanielTizon commented 1 year ago

I have added a checking for client null before Send any message. Otherwise it became null when there is a bug and client is disconnected, but OnClientDisconnected() function is not invoked and client is not correctly disconnected.