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

View File

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