Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trains are not counted as waiting at timed traffic lights at rail junctions #1173

Closed
DarthJimbo opened this issue Oct 21, 2021 · 2 comments · Fixed by #1184
Closed

Trains are not counted as waiting at timed traffic lights at rail junctions #1173

DarthJimbo opened this issue Oct 21, 2021 · 2 comments · Fixed by #1184
Assignees
Labels
BUG Defect detected confirmed Represents confirmed issue or bug regression old bug comes back or a new bug introduced in code that used to work. TRAFFIC LIGHTS Feature: Traffic lights - toggle, timed, etc
Milestone

Comments

@DarthJimbo
Copy link

Describe the problem

On timed traffic lights, waiting trains are not counted as waiting.
Traffic lights with the Waiting > 0 condition will never switch.

Steps to reproduce

  1. Setup timed traffic lights on a rail junction
  2. Make train-lines, to have trains approaching the junction
  3. Look at the ttl-panel: Even when a train is waiting, the panel will show waiting = 0

Log files

Will be submitted later if required

Savegame?

Will be submitted later if required

Screenshots?

https://imgur.com/a/FGbqTux

Notes or questions?

Affects version 11.6 TEST
Works fine in 11.5 STABLE

@DarthJimbo DarthJimbo added BUG Defect detected triage Awaiting issue categorisation labels Oct 21, 2021
@krzychu124
Copy link
Member

Interesting... I'll take a look. Thank you for the report about the problem.

@krzychu124 krzychu124 added investigating Issue currently under investigation medium priority Issue with medium priority of work confirmed Represents confirmed issue or bug and removed triage Awaiting issue categorisation investigating Issue currently under investigation labels Oct 22, 2021
@krzychu124
Copy link
Member

Something is wrong with registering trains on segments. Investigating... 🤔

@krzychu124 krzychu124 added in-progress The problem is being solved currently and removed medium priority Issue with medium priority of work in-progress The problem is being solved currently labels Oct 31, 2021
@krzychu124 krzychu124 self-assigned this Oct 31, 2021
@krzychu124 krzychu124 added this to the 11.6.0 milestone Oct 31, 2021
@krzychu124 krzychu124 added the regression old bug comes back or a new bug introduced in code that used to work. label Oct 31, 2021
@originalfoo originalfoo added the TRAFFIC LIGHTS Feature: Traffic lights - toggle, timed, etc label Jan 3, 2022
@originalfoo originalfoo modified the milestones: 11.6.0, 11.6.2 Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Defect detected confirmed Represents confirmed issue or bug regression old bug comes back or a new bug introduced in code that used to work. TRAFFIC LIGHTS Feature: Traffic lights - toggle, timed, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants