1
This commit is contained in:
parent
9ca06774e9
commit
73df9239c4
@ -1121,7 +1121,7 @@ bool Room::GenSmallCircle(a8::Vec2 big_circle_pos, float big_circle_rad, float s
|
|||||||
|
|
||||||
void Room::MatchTeam(Human* hum)
|
void Room::MatchTeam(Human* hum)
|
||||||
{
|
{
|
||||||
if (!hum->team_uuid.empty()) {
|
if (!hum->team_uuid.empty() && GetRoomMode() != kZombieMode) {
|
||||||
for (auto& pair : human_hash_) {
|
for (auto& pair : human_hash_) {
|
||||||
if (pair.second != hum) {
|
if (pair.second != hum) {
|
||||||
if (!hum->team_uuid.empty() && pair.second->team_uuid == hum->team_uuid) {
|
if (!hum->team_uuid.empty() && pair.second->team_uuid == hum->team_uuid) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user