Page 1 of 1

[0.13.8] game.active_mods returning old values

Posted: Fri Jul 15, 2016 1:08 pm
by daniel34
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.

Re: [0.13.8] game.active_mods returning old values

Posted: Fri Jul 15, 2016 1:32 pm
by Klonan
daniel34 wrote: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.

Thanks for the report :)

I can confirm:


Re: [0.13.8] game.active_mods returning old values

Posted: Fri Jul 15, 2016 1:38 pm
by Rseding91
Fixed for 0.13.9.