[0.13.8] game.active_mods returning old values
Posted: Fri Jul 15, 2016 1:08 pm
When using game.active_mods to get a list of the activated mods it will instead list the mods (and factorio base version) that were displayed in the load save dialog instead of the currently active mods.
Example: Loading a savegame from 0.13.4 in 0.13.8 and then printing game.active_mods["base"] will still return 0.13.4. After saving and loading that save it will correctly return 0.13.8.
Example 2: After adding new mods or removing existing mods game.active_mods will still list the old mod configuration, although the mod is no longer present/active in the game.
Example: Loading a savegame from 0.13.4 in 0.13.8 and then printing game.active_mods["base"] will still return 0.13.4. After saving and loading that save it will correctly return 0.13.8.
Example 2: After adding new mods or removing existing mods game.active_mods will still list the old mod configuration, although the mod is no longer present/active in the game.