This commit is contained in:
aozhiwei 2021-09-09 17:31:56 +08:00
parent 1414fa0959
commit 348965c790

View File

@ -643,7 +643,11 @@ void Human::FillSMGameOver(cs::SMGameOver& msg)
stats.rank = rank;
}
msg.set_watchable(MetaMgr::Instance()->watchable);
if (MetaMgr::Instance()->watchable) {
msg.set_watchable(!dead);
} else {
msg.set_watchable(false);
}
msg.set_team_id(team_id);
msg.set_team_rank(stats.rank);
msg.set_team_allcnt(1);