Skip to content

Commit

Permalink
Merge pull request #473 from krzychu124/cars-pausing-priority-signs-f…
Browse files Browse the repository at this point in the history
…ix-448

Eliminate vehicle pause before entering junction if has right of way
  • Loading branch information
krzychu124 authored Jul 31, 2019
2 parents ac1ef93 + f96c3a2 commit 89173c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TLM/TLM/Manager/Impl/VehicleBehaviorManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,7 @@ ref segEndMan.ExtSegmentEnds[segEndMan.GetIndex(prevPos.m_segment, isTargetStart

var sign = prioMan.GetPrioritySign(prevPos.m_segment, isTargetStartNode);

if (sign != PriorityType.None) {
if (sign != PriorityType.None && sign != PriorityType.Main) {
if (logPriority) {
Log._DebugFormat(
"VehicleBehaviorManager.MayChangeSegment({0}): Vehicle is arriving " +
Expand Down

0 comments on commit 89173c2

Please sign in to comment.