1
This commit is contained in:
parent
33bf201aed
commit
3960c50dc5
@ -1118,7 +1118,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) {
|
||||
@ -1146,6 +1146,9 @@ void Room::MatchTeam(Human* hum)
|
||||
|
||||
void Room::CombineTeam()
|
||||
{
|
||||
if (GetRoomMode() != kChiJiMode) {
|
||||
return;
|
||||
}
|
||||
std::map<int, size_t> need_combine_teams;
|
||||
std::map<int, size_t> need_combine_teams_copy;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user