Also deactivate Automation if Loop is disabled, not only if it is suspended.
This commit is contained in:
parent
f537c0090a
commit
63808ad553
|
@ -161,7 +161,7 @@ object AutomationPlugin : PluginBase(PluginDescription()
|
||||||
private fun processActions() {
|
private fun processActions() {
|
||||||
if (!isEnabled(PluginType.GENERAL))
|
if (!isEnabled(PluginType.GENERAL))
|
||||||
return
|
return
|
||||||
if (LoopPlugin.getPlugin().isSuspended) {
|
if (LoopPlugin.getPlugin().isSuspended || !LoopPlugin.getPlugin().isEnabled(PluginType.LOOP)) {
|
||||||
if (L.isEnabled(L.AUTOMATION))
|
if (L.isEnabled(L.AUTOMATION))
|
||||||
log.debug("Loop deactivated")
|
log.debug("Loop deactivated")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue