diff --git a/server/gameserver/room.cc b/server/gameserver/room.cc index 5bc690e..cb60946 100644 --- a/server/gameserver/room.cc +++ b/server/gameserver/room.cc @@ -1015,6 +1015,14 @@ void Room::CombineTeam() std::map need_combine_teams; std::map need_combine_teams_copy; + if (room_type == RT_MidBrid) { + for (auto& pair : accountid_hash_) { + Human* hum = pair.second; + hum->auto_fill = true; + hum->team_uuid = a8::XValue(room_uuid).GetString(); + } + } + int first_team_id = 0; int total_count = 0; for (auto& pair : team_hash_) {