fix: list server logs properly when disconnected

This commit is contained in:
Paul Pacheco 2020-01-01 19:07:41 -06:00
parent a438216458
commit f02d3174db

View File

@ -200,7 +200,7 @@ void TickClient()
else if (message.eventType == Telepathy.EventType.Data)
ParseMessage(message.data);
// disconnected?
else if (message.eventType == Telepathy.EventType.Connected)
else if (message.eventType == Telepathy.EventType.Disconnected)
Debug.Log("[List Server] Client disconnected.");
}