mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Modified driver collection
This commit is contained in:
parent
17135760b4
commit
7c009e0f5b
1 changed files with 3 additions and 5 deletions
|
|
@ -69,12 +69,10 @@ namespace SceneManager.Utils
|
||||||
nearbyCollectedVehicleOtherPath.Dismiss(Dismiss.FromDirected, path);
|
nearbyCollectedVehicleOtherPath.Dismiss(Dismiss.FromDirected, path);
|
||||||
}
|
}
|
||||||
Game.LogTrivial($"[Direct Driver] Adding {nearbyVehicle.Model.Name} to directed path.");
|
Game.LogTrivial($"[Direct Driver] Adding {nearbyVehicle.Model.Name} to directed path.");
|
||||||
path.CollectedPeds.Add(collectedVehicleOnThisPath = new CollectedPed(nearbyVehicle.Driver, path, targetWaypoint) { Directed = true });
|
var newCollectedPed = new CollectedPed(nearbyVehicle.Driver, path, targetWaypoint) { Directed = true };
|
||||||
//collectedVehicleOnThisPath.Directed = true;
|
path.CollectedPeds.Add(newCollectedPed);
|
||||||
collectedVehicleOnThisPath.Tasks.Clear();
|
//collectedVehicleOnThisPath.Tasks.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
//GameFiber.StartNew(() => collectedVehicleOnThisPath.AssignWaypointTasks(path, targetWaypoint));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue