This commit is contained in:
aozhiwei 2020-04-21 10:27:29 +08:00
parent 121dd00397
commit 2c06f591c9

View File

@ -860,7 +860,7 @@ void Human::BeKill(int killer_id, const std::string& killer_name, int weapon_id)
int max_revive_times = MetaMgr::Instance()->GetSysParamAsInt("max_revive_times", 1);
if (weapon_id != VW_Spectate &&
dead_times <= max_revive_times &&
room->AliveCount() > 5 &&
room->AliveCount() >= 5 &&
entity_subtype == EST_Player) {
Revive();
} else {