This commit is contained in:
aozhiwei 2020-07-31 20:34:26 +08:00
parent 9ca06774e9
commit 73df9239c4

View File

@ -1121,7 +1121,7 @@ bool Room::GenSmallCircle(a8::Vec2 big_circle_pos, float big_circle_rad, float s
void Room::MatchTeam(Human* hum)
{
if (!hum->team_uuid.empty()) {
if (!hum->team_uuid.empty() && GetRoomMode() != kZombieMode) {
for (auto& pair : human_hash_) {
if (pair.second != hum) {
if (!hum->team_uuid.empty() && pair.second->team_uuid == hum->team_uuid) {