From 1c2b776ea663dfb048e37025bb85ebf369552c8e Mon Sep 17 00:00:00 2001 From: Rich Dunne Date: Mon, 24 Aug 2020 10:13:50 -0600 Subject: [PATCH] Removed RefreshMenu() method call --- SceneManager/Menus/PathCreationMenu.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SceneManager/Menus/PathCreationMenu.cs b/SceneManager/Menus/PathCreationMenu.cs index 462b9f0..b240128 100644 --- a/SceneManager/Menus/PathCreationMenu.cs +++ b/SceneManager/Menus/PathCreationMenu.cs @@ -80,13 +80,12 @@ namespace SceneManager { PathMainMenu.GetPaths()[pathIndex].Waypoints.Add(new Waypoint(currentPath, currentWaypoint, Game.LocalPlayer.Character.Position, SetDriveSpeedForWaypoint(), drivingFlag, blip)); } - + Game.LogTrivial($"Waypoint speed: {PathMainMenu.GetPaths()[pathIndex].Waypoints.Last().Speed}"); Game.LogTrivial($"[Path {currentPath}] Waypoint {currentWaypoint} ({drivingFlag.ToString()}) added"); ToggleTrafficEndPathMenuItem(pathIndex); trafficRemoveWaypoint.Enabled = true; - // Refresh the trafficMenu after a waypoint is added in order to show Continue Creating Current Path instead of Create New Path - PathMainMenu.RefreshMenu(); + PathMainMenu.createNewPath.Text = "Continue Creating Current Path"; } if (selectedItem == trafficRemoveWaypoint)