sarbian/ModuleManager

MM_REINITIALIZE not working

Opened this issue · 0 comments

KSP-1.3, MM 2.8.0

Hi.

I'm trying to utilize the MM_REINITIALIZE feature as described in the Wiki.

The setup is as follows:

  • A mod (ConfigurableContainers) is installed and a vessel is launched.
  • This vessel contains a stock part with a ModuleSwitchableTank installed via MM patch.
  • The game is saved and exited.
  • Then I edit the MM patch and replace ModuleSwitchableTank with the ModuleTankManager.
  • The game is loaded again, and ModuleTankManager tries to check for MM_REINITIALIZE value in OnLoad to recreate its configuration from scratch in flight.

But its OnLoad method never gets called, and it ends up with the configuration copied from the prefab, which is the opposite to the desired behaviour.