From 54c67efe2be2af5b2aaa27e978b95b77f8f561f3 Mon Sep 17 00:00:00 2001 From: Rich Dunne Date: Sun, 10 Jan 2021 08:39:30 -0700 Subject: [PATCH] Updated property reference due to refactor --- SceneManager/Utils/ConsoleCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SceneManager/Utils/ConsoleCommands.cs b/SceneManager/Utils/ConsoleCommands.cs index e812c52..2a8e988 100644 --- a/SceneManager/Utils/ConsoleCommands.cs +++ b/SceneManager/Utils/ConsoleCommands.cs @@ -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)