This commit is contained in:
aozhiwei 2023-10-30 15:26:08 +08:00
parent 868caa7a84
commit 0fccf1a2db

View File

@ -1263,7 +1263,11 @@ void Player::_CMGameOver(f8::MsgHdr& hdr, const cs::CMGameOver& msg)
stats->abandon_battle = 1;
CancelRevive();
if (!dead) {
BeKill(GetUniId(), name, 0, GetUniId(), name);
if (room->IsMobaModeRoom()) {
SendGameOver();
} else {
BeKill(GetUniId(), name, 0, GetUniId(), name);
}
} else {
SendGameOver();
}