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:
parent
fa38dc28e5
commit
72f5a48201
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue