1
This commit is contained in:
parent
a3c4164a72
commit
e9c96a209d
@ -2363,7 +2363,8 @@ void Human::OnDie()
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!HasNoDownedTeammate() && !leave_) {
|
||||
if (!leave_) {
|
||||
if (!HasNoDownedTeammate()) {
|
||||
if (team_members) {
|
||||
for (auto& member : *team_members) {
|
||||
if (member == this) {
|
||||
@ -2393,6 +2394,9 @@ void Human::OnDie()
|
||||
} else {
|
||||
SendGameOver();
|
||||
}
|
||||
} else {
|
||||
SendGameOver();
|
||||
}
|
||||
}
|
||||
if (room->GetAliveTeamNum() == 1) {
|
||||
std::set<Human*>* alive_team = room->GetAliveTeam();
|
||||
|
Loading…
x
Reference in New Issue
Block a user