Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
kianzarrin committed Apr 17, 2020
1 parent 43457ca commit d052e02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions TLM/TLM/UI/TrafficManagerTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,9 @@ public void RenderOverlayImpl(RenderManager.CameraInfo cameraInfo) {
void DefaultRenderOverlay(RenderManager.CameraInfo cameraInfo)
{
MassEditOVerlay.Show = ControlIsPressed || RoadSelectionPanels.Root.ShouldShowMassEditOverlay();
if (NetManager.instance.NetAdjust.PathVisible =
RoadSelectionPanels.Root.ShouldPathBeVisible()) {
NetManager.instance.NetAdjust.PathVisible =
RoadSelectionPanels.Root.ShouldPathBeVisible();
if (NetManager.instance.NetAdjust.PathVisible) {
base.RenderOverlay(cameraInfo); // render path.
}

Expand Down

0 comments on commit d052e02

Please sign in to comment.