Vanilla-Expanded / VanillaPsycastsExpanded

2 stars 13 forks source link

Fix compatibility issues due to ModsConfig.IsActive #18

Closed SokyranTheDragon closed 9 months ago

SokyranTheDragon commented 10 months ago

The issue occurs when checking if a mod is active with ModsConfig.IsActive when running the workshop version of a mod while there's a local copy in the mods directory. In those cases the ModsConfig.IsActive will return false as the running mod will have the _steam postfix.

The simple fix is to simply check for mod ID, as well as the mod ID with the _steam postfix.

For related PRs, check: Vanilla-Expanded/VanillaExpandedFramework#72