private bool ActivateModule(DisplayModule new_active_mod, ref DisplayModule change_active_mod, ref DisplayModule other_active_mod)
{
/*
* if (((other_active_mod == change_active_mod.companion_mod && new_active_mod.companion_mod.GetType() == other_active_mod.GetType()) ||
* new_active_mod.companion_mod.GetType() == other_active_mod.GetType()) &&
* new_active_mod.companion_mod != null
* )
* {
* other_active_mod.Deactivate();
* other_active_mod = new_active_mod.companion_mod;
* }
*/
change_active_mod.Deactivate();
change_active_mod = new_active_mod;
change_active_mod.Activate();
other_active_mod.Activate();
return(true);
}