This commit is contained in:
aozhiwei 2023-05-30 17:13:40 +08:00
parent fa512cf99b
commit 1bf985fab0

View File

@ -1836,6 +1836,9 @@ void Room::FillTeam()
} }
for (auto& pair : team_hash_) { for (auto& pair : team_hash_) {
pair.second->GenBattleUuid(); pair.second->GenBattleUuid();
if (pair.second->HasPlayer()) {
batch_sync_->AddTeam(pair.second);
}
} }
} }