1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 07:30:40 +01:00

Updated property reference due to refactor

This commit is contained in:
Rich Dunne 2021-01-10 08:39:30 -07:00
parent 1c46d4418f
commit 54c67efe2b

View file

@ -13,7 +13,7 @@ namespace SceneManager.Utils
[ConsoleCommand]
internal static void Command_ShowCollectedVehicleInfo([ConsoleCommandParameter(AutoCompleterType = typeof(ConsoleCommandAutoCompleterVehicle), Name = "ShowCollectedVehicleInfo")] Vehicle vehicle)
{
foreach(Path path in PathMainMenu.paths)
foreach(Path path in PathManager.Paths)
{
var collectedVehicle = path.CollectedVehicles.Where(v => v.Vehicle == vehicle).FirstOrDefault();
if(collectedVehicle != null)