Fix reconnect issue caused by inboundpacket not being cleared

This commit is contained in:
zsilencer committed 2016-04-20 01:49:16 -06:00
1 parent 0ceff7fd90
commit 3ba7d54247
1 file changed
+1 -1
+1 -1
View File
@@ -605,7 +605,7 @@ void Network::Close()
mode = NETWORK_MODE_NONE;
status = NETWORK_STATUS_NONE;
server_connection.authstatus = NETWORK_AUTH_NONE;
server_connection.inboundpacket.Clear();
server_connection.setLastDisconnectReason(nullptr);
client_connection_list.clear();