Closed bwochinski closed 2 years ago
ah yes, this is something completely bizarre, LTN's init/load/configuration_changed causes it to fire events for my mod before it had a chance to initialize, i already took care of this issue in another place, but apparently i had missed this one.
Not sure of what changed that caused this but in about the last week attempting to load a save (that had preivously worked fine) resulted in a crash:
My lua is rusty but was able to get things to load by tossing a check for 'nil' in where that was happening.
Inserted in train.lua @ line:47
if global.entangled == nil then return {} end
This occurred in an SE / Krastorio2 save with quite a few mods, but the only that deal with trains & LTN are:
LTN - Logistic Train Network LTN Combinator Modernized LTN Manager Glutenfree LTN Announcer Better Temporary Train Stops