Shuttle Train Refresh

by StefanT

Train management for personal transportation with some new concepts.

Content
24 days ago
1.1 - 2.0
4.51K
Trains

b Manual train destination change bug

1 year, 1 month 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.

1 year, 1 month 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