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

Moved State enum to Settings class. Added checks for blip opacity based on whether map blips are enabled in settings

This commit is contained in:
Rich Dunne 2020-09-06 14:26:42 -06:00
parent 1bb4f2d750
commit beddfe4223

View file

@ -3,12 +3,7 @@ using System.Collections.Generic;
namespace SceneManager
{
public enum State
{
Uninitialized,
Creating,
Finished
}
public class Path
{
@ -66,7 +61,10 @@ namespace SceneManager
{
wp.RemoveSpeedZone();
}
LowerWaypointBlipsOpacity();
if (SettingsMenu.mapBlips.Checked)
{
LowerWaypointBlipsOpacity();
}
}
public void EnablePath()
@ -79,7 +77,10 @@ namespace SceneManager
wp.AddSpeedZone();
}
}
RestoreWaypointBlipsOpacity();
if (SettingsMenu.mapBlips.Checked)
{
RestoreWaypointBlipsOpacity();
}
}