1
This commit is contained in:
parent
49c9616b23
commit
fbbdf2fcb1
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user