This commit is contained in:
aozhiwei 2024-09-24 15:50:23 +08:00
parent 49c9616b23
commit fbbdf2fcb1

View File

@ -540,7 +540,7 @@ void Room::CreateAndroid(int robot_num, std::shared_ptr<Team> team)
hum->Initialize();
AddToEntityHash(hum);
AddToHumanHash(hum);
if (GetMapModeMeta()->mapMode() != mt::kCircuitMatchMode) {
if (GetMapModeMeta()->mapMode() == mt::kCircuitMatchMode) {
MatchTeam(hum);
} else {
if (team) {
@ -601,7 +601,7 @@ Human* Room::CreateAndroidWithCustomMember(std::shared_ptr<CustomMember> custom_
hum->Initialize();
AddToEntityHash(hum);
AddToHumanHash(hum);
if (GetMapModeMeta()->mapMode() != mt::kCircuitMatchMode) {
if (GetMapModeMeta()->mapMode() == mt::kCircuitMatchMode) {
MatchTeam(hum);
} else {
if (team) {