From d7f09c299fdaa22fcc07d005267b78b1b84dae72 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 23 Aug 2024 21:43:17 +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 dc1bcbe2..d6c1d079 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -3101,6 +3101,7 @@ void Human::InternalBeKill(int killer_id, const std::string& killer_name, int we } #endif if (!dead && !room->IsGameOver() && !real_dead) { + room->GetBoxDrop()->OnHumanDeadDrop(this); KillInfo info; { info.killer_id = killer_id; @@ -3253,7 +3254,6 @@ void Human::InternalBeKill(int killer_id, const std::string& killer_name, int we } room->GetInGameVoice()->OnHumanBeKill(real_killer_id, this); } - room->GetBoxDrop()->OnHumanDeadDrop(this); SendViewerUiMemberUpdate({GetUniId(), killer_id, real_killer_id}); room->NotifyUiUpdate(); }