1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 23:50:29 +01:00

Blips for new waypoints added to disabled paths via the edit waypoint menu will now have correctly transparent blips

This commit is contained in:
Rich Dunne 2020-09-03 17:48:12 -06:00
parent fa38dc28e5
commit 72f5a48201

View file

@ -128,7 +128,11 @@ namespace SceneManager
{ {
var pathIndex = PathMainMenu.GetPaths().IndexOf(currentPath); var pathIndex = PathMainMenu.GetPaths().IndexOf(currentPath);
var drivingFlag = drivingFlags[changeWaypointType.Index]; var drivingFlag = drivingFlags[changeWaypointType.Index];
var blip = PathCreationMenu.CreateWaypointBlip(pathIndex); var blip = PathCreationMenu.CreateWaypointBlip(pathIndex, drivingFlag);
if (!currentPath.IsEnabled)
{
blip.Alpha = 0.5f;
}
if (collectorWaypoint.Checked) if (collectorWaypoint.Checked)
{ {