diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/index.ts b/src/plugins/index.ts index ab69ca7..404f638 100644 --- a/src/plugins/index.ts +++ b/src/plugins/index.ts @@ -99,9 +99,9 @@ export function startDependenciesRecursive(p: Plugin) { if (!Settings.plugins[dep].enabled) { startDependenciesRecursive(Plugins[dep]); // If the plugin has patches, don't start the plugin, just enable it. + Settings.plugins[dep].enabled = true; if (Plugins[dep].patches) { logger.warn(`Enabling dependency ${dep} requires restart.`); - Settings.plugins[dep].enabled = true; restartNeeded = true; return; } |