Train tunnels

by Godmave

Tunnels for trains

Content
3 years ago
0.17 - 1.1
13.9K
Trains

b error when train enters tunnel

4 years ago

When I drive the train into the first tunnel, it gives me this error message

The mod Train tunnels (0.0.9) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event traintunnels::on_tick (ID 0)
LuaPlayer doesn't contain key player.
stack traceback:
traintunnels/teleport.lua:267: in function 'teleportCarriage'
traintunnels/control.lua:755: in function <traintunnels/control.lua:534>
stack traceback:
[C]: in function 'index'
__traintunnels
/teleport.lua:267: in function 'teleportCarriage'
traintunnels/control.lua:755: in function <traintunnels/control.lua:534>

Please try to fix this as soon as you can.

4 years ago

OK, it turns out this only happens in sandbox mode, I can still enter tunnels if I drive as the player character.

New response