Multiple Train Stop Names

by Natha

One train stop can have multiple names

Content
2 years ago
1.1
331
Trains

b Crash when added to an existing game

2 years ago
Error while running event multiple-stop-names::on_gui_opened (ID 87)
__multiple-stop-names__/control.lua:17: attempt to index local 'gui' (a nil value)
stack traceback:
    __multiple-stop-names__/control.lua:17: in function 'update_gui'
    __multiple-stop-names__/control.lua:50: in function <__multiple-stop-names__/control.lua:43>

I think on_player_created is not a per-session event, so gui is never initialized for me.

2 years ago

Fixed in the next update

New response