Shuttle Train Refresh

by StefanT

Train management for personal transportation with some new concepts.

Content
7 months ago
1.1
3.69K
Trains

b Manual train destination change bug

7 months ago

The mod Shuttle Train Refresh (1.1.9) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ShuttleTrainRefresh::on_train_schedule_changed (ID 114)
ShuttleTrainRefresh/script/train.lua:182: attempt to index local 'destination' (a nil value)
stack traceback:
ShuttleTrainRefresh/script/train.lua:182: in function 'transportTo'
ShuttleTrainRefresh/control.lua:165: in function 'playerChangedTrainSchedule'
ShuttleTrainRefresh/script/events.lua:52: in function <ShuttleTrainRefresh/script/events.lua:49>

This error happened when I manually removed a station (previously added from the GUI) from a manual train's schedule.

7 months ago

I was not able to reproduce the bug but I think the change in the new 1.2.0 should fix it.

New response