Fully Automated Rail Layer


Fully automated rail-layer

Content
3 years ago
0.13 - 1.1
47.6K
Trains

g Autopilot "Drive without me" is broken

6 years ago

LuaEntity doesn't contain key passenger.

GUI.lua:217 and GUI.lua:221

Due of removal of "passenger" from vehicles, and being replaced with get_driver/set_driver, and get_passenger/set_passenger, which don't exist for trains.

First is easy to fix, player.driving = false pulls players out of their vehicles. Second there no longer appears to be a way in the API to put a player into a train. The individual carriages of a train and the train itself don't support get/set passenger/driver.

New response