Automatically color stations and trains containing specified keywords
Mods introducing new content into the game.
Trains are great, but what if they could do even more?
Every time I click "new" to work with this mod this error appears.
Error while running event railway-painter::on_gui_click (ID 1) railway-painter/src/player/preview/PreviewArea.lua:42: attempt to index field 'locomotive' (a nil value)
Could not find anything wrong with the code, but I added (more) logs so please include the factorio-current.log after it crashes.
Also, are you using any mods which modify locomotives?