From d331a1a445928ee7d5a77260cb9da94629fee8e4 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 16 Mar 2023 21:06:24 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index e27d3863..de79b670 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -742,9 +742,9 @@ void Human::DecHP(float dec_hp, int killer_id, const std::string killer_name, in return; } if (!HasLiveTeammate()) { - FreeDownedTimer(); BeKill(info->killer_id, info->killer_name, info->weapon_id, info->real_killer_id, info->real_killer_name); + FreeDownedTimer(); return; } float dmg_out = 0.0f;