This commit is contained in:
aozhiwei 2023-04-08 17:39:38 +08:00
parent 59c2c8ccb1
commit 18fccc5fd6

View File

@ -1095,8 +1095,10 @@ void Player::_CMGameOver(f8::MsgHdr& hdr, const cs::CMGameOver& msg)
{
if (room->GetGasData().GetGasMode() == GasInactive) {
stats->is_run_away = true;
if (GetTeam()) {
GetTeam()->RunAway(this);
}
}
CancelRevive();
if (!dead) {
BeKill(GetUniId(), name, 0, GetUniId(), name);