From 8defe1c461c3f795ad592c31c806b11455f27841 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 6 May 2019 15:35:28 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 3661b5e..7cf9c1e 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -516,7 +516,9 @@ void Human::BeKill(int killer_id, const std::string& killer_name, int weapon_id) } } } - SendGameOver(); + if (!HasLiveTeammate()) { + SendGameOver(); + } } }