제출 버전

This commit is contained in:
2025-06-21 22:48:29 +09:00
parent 0536f9fb11
commit 3729ece918
2 changed files with 17 additions and 3 deletions

View File

@@ -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) {