This commit is contained in:
aozhiwei 2022-11-10 16:30:25 +08:00
parent e4d8ece610
commit 77389dab68

View File

@ -1109,8 +1109,9 @@ void Player::_CMGameOver(f8::MsgHdr& hdr, const cs::CMGameOver& msg)
CancelRevive(); CancelRevive();
if (!dead) { if (!dead) {
BeKill(GetUniId(), name, 0); BeKill(GetUniId(), name, 0);
} else {
SendGameOver();
} }
SendGameOver();
} }
void Player::_CMWatchWar(f8::MsgHdr& hdr, const cs::CMWatchWar& msg) void Player::_CMWatchWar(f8::MsgHdr& hdr, const cs::CMWatchWar& msg)