Skip to content

Commit

Permalink
Fixed issues in RequestLeastRestrictiveAspect
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharpe49 committed Aug 17, 2022
1 parent e88581e commit 7d3db52
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Orts.Simulation/Simulation/Signalling/SignalHead.cs
Expand Up @@ -611,7 +611,7 @@ public void RequestLeastRestrictiveAspect()
else
state = MstsSignalAspect.CLEAR_2;

def_draw_state(state);
draw_state = def_draw_state(state);
}
}

Expand Down
Expand Up @@ -4232,7 +4232,6 @@ public void RequestLeastRestrictiveAspect()
foreach (var sigHead in SignalHeads)
{
sigHead.RequestLeastRestrictiveAspect();
sigHead.draw_state = sigHead.def_draw_state(sigHead.state);
}
}

Expand Down

0 comments on commit 7d3db52

Please sign in to comment.