Fix vehicle seat sync

This commit is contained in:
sardelka9515 2022-08-21 14:15:01 +08:00
parent 54977c79f1
commit 5bfc7f836e

View File

@ -750,7 +750,7 @@ namespace RageCoop.Client
switch (Speed)
{
case 4:
if (MainPed.CurrentVehicle!=CurrentVehicle.MainVehicle)
if (MainPed.CurrentVehicle!=CurrentVehicle.MainVehicle || MainPed.SeatIndex!=Seat)
{
MainPed.SetIntoVehicle(CurrentVehicle.MainVehicle, Seat);
}