πŸ‡ΊπŸ‡¦ The Night Has A Thousand Eyes


Fork of Will-o-the-Wisps, but with a twist.

2 years ago
1.0 - 1.1
116

b Crash

2 years ago

Hi! I realize your mod isn't meant to be public. But I've just got an easy-to-fix crash that you might still want to know about:

I've tried to load a saved game somebody sent me for debugging one of my mods. That save was made with Krastorio2 and SE (both are messing with the default tech tree). Your mod also was active and choked on line 1457 in control.lua:

            if force.technologies['combat-robotics'].researched then

Seems this tech has been removed, so trying to index it will fail. Using

            if force.technologies['combat-robotics'] and force.technologies['combat-robotics'].researched then

will prevent that. (There are more lines like this in the same function; you should probably fix those as well.)

New response