1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Fix reconnect issue caused by inboundpacket not being cleared

This commit is contained in:
zsilencer
2016-04-20 01:42:26 -06:00
parent 0ceff7fd90
commit 3ba7d54247

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();