From b6a447c26fe49764a335cadb68d1a2c37d67860d Mon Sep 17 00:00:00 2001 From: in0finite Date: Mon, 13 Sep 2021 02:30:30 +0200 Subject: [PATCH] rename --- Assets/Scripts/Behaviours/Ped/PedAI.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/Behaviours/Ped/PedAI.cs b/Assets/Scripts/Behaviours/Ped/PedAI.cs index 1bf361a1..257de395 100644 --- a/Assets/Scripts/Behaviours/Ped/PedAI.cs +++ b/Assets/Scripts/Behaviours/Ped/PedAI.cs @@ -352,7 +352,7 @@ namespace SanAndreasUnity.Behaviours // handle vehicle logic - follow ped in or out of vehicle if (this.MyPed.IsInVehicle || this.TargetPed.IsInVehicle) - this.UpdateFollowingMovementPart(); + this.UpdateFollowing_MovementPart(); if (this.Action != PedAIAction.Following) return; @@ -368,11 +368,11 @@ namespace SanAndreasUnity.Behaviours { // no peds to attack // follow our leader - this.UpdateFollowingMovementPart(); + this.UpdateFollowing_MovementPart(); } } - void UpdateFollowingMovementPart() + void UpdateFollowing_MovementPart() { // follow target ped