[#modding] Somewhere over the past 2-3 months `ModManager.cs` was shuffled around in such a...

Issue #4118 on hold
Freehold Games Bot Account created an issue

Marked for crossposting by: exsanguination microtubules

Message (jump):

<exsanguination microtubules> Somewhere over the past 2-3 months ModManager.cs was shuffled around in such a way that Options.LoadModOptions() is no longer called until after Harmony Patches are applied. It used to be in the reverse order, and QudUX relies on several of its configurable mod options to determine whether or not to apply certain patches. Now, only the base game options are loaded before Harmony Patches are applied.

Specifically, no mod options are loaded until the mod sensitive cache is reset:
cs Loading.LoadTask("Building script mods", DoBuildScriptMods); Loading.LoadTask("Resetting static caches", ResetModSensitiveStaticCaches);

Comments (3)

  1. exsanguination microtubules

    The game loads PlayerOptions.xml, but that contains only the mod options the player has manually changed at some point. Default values are not included, since they need to be read from the mod’s Options.xml.

  2. Log in to comment