News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Traffic light removal is inconsistent

Started by ceeac, January 19, 2022, 04:58:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ceeac

To reproduce:

  • Build a 4-way road intersection
  • Build a traffic light onto the intersection
  • Remove either the north-south or the east-west way across the intersection using the "Remove roads" tool
  • Notice that, depending on whether the traffic light is red or green in that direction, the traffic light is removed or not
IMO the traffic light should be removed if the way is no longer an intersection (i.e. not a three- or fourway ribi) regardless of the state of the traffic light.

prissi

The traffic ligh should stay until there is at least a double straight ribi ... Investigating.

prissi


ceeac

Seems to work fine now. I have added one additional test for this in r10420.

prissi