This commit is contained in:
aozhiwei 2020-01-19 21:06:38 +08:00
parent 7262f36d42
commit e797db1de1

View File

@ -811,9 +811,11 @@ void Human::BeKill(int killer_id, const std::string& killer_name, int weapon_id)
dead_frameno = room->frame_no;
++dead_times;
int max_revive_times = MetaMgr::Instance()->GetSysParamAsInt("max_revive_times", 1);
#if 0
if (today_enter_times == 0) {
++max_revive_times;
}
#endif
if (weapon_id != VW_Spectate &&
dead_times <= max_revive_times &&
room->AliveCount() > 2 &&