Browse Source

Dont save player updates until client is successfully in zone

Emagi 1 năm trước cách đây
mục cha
commit
d319056047
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      EQ2/source/WorldServer/zoneserver.cpp

+ 1 - 1
EQ2/source/WorldServer/zoneserver.cpp

@@ -1841,7 +1841,7 @@ void ZoneServer::SaveClients(){
 	MClientList.readlock(__FUNCTION__, __LINE__);
 	for (itr = clients.begin(); itr != clients.end(); itr++) {
 		client = *itr;
-		if(client->IsConnected()){
+		if(client->IsConnected() && client->IsReadyForUpdates()){
 			SaveClient(client);	
 		}
 	}