forked from rosebudai/OpenRCT2-Web
Fix reconnect issue caused by inboundpacket not being cleared
This commit is contained in:
1 parent
0ceff7fd90
commit
3ba7d54247
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user