1
This commit is contained in:
parent
542953a1bc
commit
867cee0414
@ -751,6 +751,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() > 2 &&
|
||||
entity_subtype == EST_Player) {
|
||||
Revive();
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user