fix warning

This commit is contained in:
in0finite 2022-03-28 00:22:43 +02:00
parent b18b32cbfa
commit 160cd83c2e

View file

@ -173,7 +173,6 @@ namespace SanAndreasUnity.Behaviours.Peds.AI
Vector3 targetPos = this.LeaderPed.transform.position;
float currentStoppingDistance = 3f;
bool ignoreCalculatedDestination = false;
if (this.LeaderPed.IsInVehicleSeat && !this.MyPed.IsInVehicle)
{
@ -202,7 +201,6 @@ namespace SanAndreasUnity.Behaviours.Peds.AI
// move toward the seat
targetPos = closestfreeSeat.tr.position;
currentStoppingDistance = 0.01f;
ignoreCalculatedDestination = true;
}
}