pop.
This commit is contained in:
@@ -276,7 +276,8 @@ void Server::Run() {
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
lsPck.clear();
|
||||
if (!lsPck.empty())
|
||||
lsPck.clear();
|
||||
|
||||
/* Process */
|
||||
|
||||
@@ -311,7 +312,8 @@ void Server::Run() {
|
||||
else {
|
||||
for (auto& chmo : conn->ChunkDiffs)
|
||||
chunkdiffs.emplace_back(std::move(chmo));
|
||||
conn->ChunkDiffs.clear();
|
||||
if (!conn->ChunkDiffs.empty())
|
||||
conn->ChunkDiffs.clear();
|
||||
|
||||
for (auto& bull : conn->Bullets) {
|
||||
bullets.emplace_back(bull);
|
||||
@@ -323,7 +325,8 @@ void Server::Run() {
|
||||
|
||||
netbull.emplace_back(std::move(nbul));
|
||||
}
|
||||
conn->Bullets.clear();
|
||||
if (!conn->Bullets.empty())
|
||||
conn->Bullets.clear();
|
||||
}
|
||||
}
|
||||
/* Out */
|
||||
|
Reference in New Issue
Block a user