This commit is contained in:
aozhiwei 2019-05-06 15:35:28 +08:00
parent 3bcdac137a
commit 8defe1c461

View File

@ -516,9 +516,11 @@ void Human::BeKill(int killer_id, const std::string& killer_name, int weapon_id)
} }
} }
} }
if (!HasLiveTeammate()) {
SendGameOver(); SendGameOver();
} }
} }
}
void Human::DecHP(float dec_hp, int killer_id, const std::string& killer_name, int weapon_id) void Human::DecHP(float dec_hp, int killer_id, const std::string& killer_name, int weapon_id)
{ {