exit vehicle when in Chase state

This commit is contained in:
in0finite 2021-10-16 20:55:58 +02:00
parent 67e5b9e21b
commit de9d01fc95

View file

@ -65,6 +65,12 @@ namespace SanAndreasUnity.Behaviours.Peds.AI
return;
}
if (_ped.IsInVehicle)
{
_ped.OnSubmitPressed();
return;
}
this.UpdateAttackOnPed(this.TargetPed, ref _wasInRange);
}