You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The stock ModuleResourceConverter has this annoying property:
public virtual ConversionRecipe Recipe => _recipe ?? (_recipe = LoadRecipe());
Which means that once this property has been accessed, the recipe will never change. This is why you must save/load after changing converter recipes with B9PS. If B9PS reset the _recipe field after configuring this module, it should fix that problem.
Note this originally came up because RasterPropMonitor was accessing the Recipe property before B9PS had a chance to change the module, so it would get stuck with the wrong recipe permanently even across save/load. I've changed RPM to no longer do that, but other mods might have similar behavior.
I think adding some code in here could handle this:
The stock ModuleResourceConverter has this annoying property:
Which means that once this property has been accessed, the recipe will never change. This is why you must save/load after changing converter recipes with B9PS. If B9PS reset the _recipe field after configuring this module, it should fix that problem.
Note this originally came up because RasterPropMonitor was accessing the Recipe property before B9PS had a chance to change the module, so it would get stuck with the wrong recipe permanently even across save/load. I've changed RPM to no longer do that, but other mods might have similar behavior.
I think adding some code in here could handle this:
B9PartSwitch/B9PartSwitch/PartSwitch/ModuleModifierInfo.cs
Line 86 in dd7482a
The text was updated successfully, but these errors were encountered: