Skip to content

waitdelay property sign has no effect on trains #502

@HightechTR

Description

@HightechTR

Info

Please provide the following information:

  • BkCommonLib Version (/train version): 1.20.6-v1
  • TrainCarts Version (/train version): 1.20.6-v1
  • Server Type and Version (/version): Paper 1.20.6

Bug

The property sign does not change the wait.delay property of trains as intended.

Description

The waitdelay property sign should modify the waitdelay property of trains.
However, in my testing, it does not have any effect on the train at all.

Expected behaviour

The sign should change the train's wait delay to the amount defined on the sign.
E.g., a waitdelay property sign with the number set to 5 should change the train's wait delay to 5 seconds.

Actual behaviour

The sign does not have any effect on the train, even when using an always-on power mode [+train].
The train retains the same wait delay it has previously set.

Steps to reproduce

For a wait delay of 5 seconds:
Build a waitdelay property sign with the following format:

[+train]
property
waitdelay
5

Have a train run over the sign.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions