diff --git a/client/src/plugins/engine/start.js b/client/src/plugins/engine/start.js index ef931f5..57d2f92 100644 --- a/client/src/plugins/engine/start.js +++ b/client/src/plugins/engine/start.js @@ -5,7 +5,7 @@ export default async function() { redirect('/') } } - if (this.isActive) { + if (this.isActive && !this.shouldStop) { console.warn('attempt to start already running engine!') return } @@ -17,6 +17,7 @@ export default async function() { } this.isActive = true + this.shouldStop = false this.fetchUpdate() console.debug('engine started') }