James' Electric Trains Plus


Primarily features Electric Trains and Powered Rails, but also includes unified train changes, including weightier rolling stock, nuclear trains, hybrid trains, and electric train cars. Each also has a setting, so you can pick and choose which ones you want.

Content
2 months ago
1.1 - 2.0
2.95K
Transportation Trains

b Powered Rails setting causing crash when loading an existing save after installing the mod

10 months ago

Tested in game version 2.0.21, the mod throws this error when trying to enable powered rails for a preexisting save

The mod James' Train Mod (2.0.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event James-Train-Mod::on_tick (ID 0)
James-Train-Mod/scripts/powered-rails.lua:307: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
James-Train-Mod/scripts/powered-rails.lua:307: in function 'UpdateTrains'
James-Train-Mod/scripts/powered-rails.lua:349: in function <James-Train-Mod/scripts/powered-rails.lua:346>

10 months ago
(updated 10 months ago)

Yep, it does.

Idk how to fix it atm.

If you remove the mod, save, then reload with the mod and correct settings it should work.

10 months ago

Alright should be fixed.

New response