FAForever / fa

Lua code for FAF
221 stars 228 forks source link

Mod manager does not update display of enabled mods for dependencies and favorites #6151

Open lL1l1 opened 2 months ago

lL1l1 commented 2 months ago

Describe the bug When I was testing out the repository from commit 6a7e8acc05e0534a0c2a02dbe88444b74fcffaa1 I noticed that there was an older mod manager in there, and that when I enabled Ecomanager its dependency Common Mod tools would light up. The current mod manager doesn't do this.

To Reproduce Unselect all mods, select a mod with a dependency. The dependency will enable in the background but will not light up until the mod manager is closed and re-opened. The same applies for enabling favorited mods.

Expected behavior The display of a mod in the list should update when it is activated through dependency or the favorites button.

Additional context LOG message when a dependency is activated: INFO: ModsManager activated dependency: UI mod - Common Mod Tools ---- (v1.0) - /mods/common There is no log when favorites are activated.