This commit is contained in:
aozhiwei 2023-07-06 16:44:57 +08:00
parent ee1ba0f16f
commit f83f93015e

View File

@ -3382,7 +3382,8 @@ void Human::InternalBeKill(int killer_id, const std::string& killer_name, int we
room->frame_event.AddDead(GetWeakPtrRef(), 0);
}
} else {
if (room->GetGasData().old_area_meta->CanRevive() &&
if (room->GetGasData().old_area_meta &&
room->GetGasData().old_area_meta->CanRevive() &&
revive_count < mt::Param::s().revive_count) {
dead = true;
real_dead = false;