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
9 days ago
1.1 - 2.0
1.24K
Transportation Trains

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

27 days 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>

27 days ago
(updated 27 days 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.

27 days ago

Alright should be fixed.

New response