제출 버전
This commit is contained in:
@@ -149,9 +149,12 @@ void ClientRefresher(utils::ThreadPool* tp, Network::IOCP* iocp) {
|
||||
header_serialized.end());
|
||||
send_data.insert(send_data.end(), model_serialized.begin(),
|
||||
model_serialized.end());
|
||||
if (!model.second->needsUpdate && !needs_all_update &&
|
||||
/*if (!model.second->needsUpdate && !needs_all_update &&
|
||||
!model.second->shouldBeDestroyed) {
|
||||
continue;
|
||||
}*/
|
||||
if (!needs_all_update) {
|
||||
continue;
|
||||
}
|
||||
model.second->needsUpdate = false;
|
||||
if (iocp->send(client, send_data) == -1) {
|
||||
|
||||
Reference in New Issue
Block a user