I rewrote some stuff and made all conditional checking functions return true if they found something in 1.2.2, instead of false. But I failed to change an "and" to an "or" so the code short-circuited the second ghost check and didn't check for ghosts at the back of the train if there were none at the front. So the check was something like "if ghost_in_front() and ghost_in_back() then wait() else set_automatic_mode()"...
But it's fixed now :)
Version: 1.2.3
Bugfixes:
- Fixed that trains went into automatic mode before checking ghosts at the back of the train.
- Fixed that trains without locomotives would be set to automatic mode.
- Thanks Techlone for reporting these bugs!