(svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands.
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "../network.h"
|
||||
#include "../network_internal.h"
|
||||
#include "../../core/pool_func.hpp"
|
||||
#include "../../order_backup.h"
|
||||
|
||||
#include "table/strings.h"
|
||||
|
||||
@@ -37,6 +38,7 @@ NetworkClientSocket::NetworkClientSocket(ClientID client_id)
|
||||
NetworkClientSocket::~NetworkClientSocket()
|
||||
{
|
||||
if (_redirect_console_to_client == this->client_id) _redirect_console_to_client = INVALID_CLIENT_ID;
|
||||
if (_network_server) OrderBackup::ResetUser(this->client_id);
|
||||
this->client_id = INVALID_CLIENT_ID;
|
||||
this->status = STATUS_INACTIVE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user