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

Signals prior to spawning point / jump to station / are not set properly #534

Open
custodian opened this issue Aug 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@custodian
Copy link
Contributor

Summary

Signals prior to spawning point are not set properly, i.e. remain green

How to reproduce

Steps to reproduce the behavior:

i.

  1. Launch any scenario with 3+ stations
    2a. Jump to station.
    2b. Find NPC train just spawned.
  2. Check signals state before the spawn point

ii.

  1. Launch any scenario and spawn at the middle of the track
  2. Check signals state before the spawn point.

Observed behavior

Signals are green:
Spawn at the middle of the track:
image

NPC train:
image

Expected behavior

Signals are Yellow/Red
image

Version

Additional information

Linked to #315

@custodian custodian added the bug Something isn't working label Aug 20, 2023
@DasCapschen
Copy link
Member

Yeah, unfortunately the block system is very basic right now. Right now, signals switch themselves (and the signal before them) the moment a train drives over the signal. The "jump to station" feature just ignores this.

I want to completely refactor the signal system, but that's only going to happen in 0.10 unfortunately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants