Skip to content

Commit

Permalink
fix: list server logs properly when disconnected
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpach committed Jan 2, 2020
1 parent a438216 commit f02d317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirror/Examples/ListServer/ListServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}

Expand Down

0 comments on commit f02d317

Please sign in to comment.