private static bool ManageModules(bool modulesDisabled) { bool a = GetData.isAnybodyLoggedIn; if (!GetData.isAnybodyLoggedIn) { if (!modulesDisabled) { ModulesManager.DisableAllWorkingModules(); modulesDisabled = true; GetData.ResetAllSpottedCreatureList(); } } else if (modulesDisabled) { ModulesManager.EnableAllDisabledModules(); modulesDisabled = false; } return(modulesDisabled); }