mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 23:50:29 +01:00
Removed RefreshMenu() method call
This commit is contained in:
parent
73865880ff
commit
1c2b776ea6
1 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue