This commit is contained in:
aozhiwei 2024-09-14 14:18:05 +08:00
parent 571fc0f58c
commit d0ab84e164

View File

@ -601,10 +601,14 @@ Human* Room::CreateAndroidWithCustomMember(std::shared_ptr<CustomMember> custom_
hum->Initialize(); hum->Initialize();
AddToEntityHash(hum); AddToEntityHash(hum);
AddToHumanHash(hum); AddToHumanHash(hum);
if (team) { if (GetMapModeMeta()->mapMode() != mt::kCircuitMatchMode) {
team->AddMember(hum);
} else {
MatchTeam(hum); MatchTeam(hum);
} else {
if (team) {
team->AddMember(hum);
} else {
MatchTeam(hum);
}
} }
if (!hum->IsOb()) { if (!hum->IsOb()) {
IncAliveCount(); IncAliveCount();