From a8b30f2707d619a87c625c544a3d81c81451cae8 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Thu, 7 Nov 2019 21:24:10 +0100 Subject: [PATCH] hopefully fix stuff for reals. --- src/drivers/iconsole.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/drivers/iconsole.js b/src/drivers/iconsole.js index 24f1725..83479a3 100644 --- a/src/drivers/iconsole.js +++ b/src/drivers/iconsole.js @@ -49,16 +49,17 @@ class IConsoleDriver { await this.client.resume(); } - this.state === "started"; + this.state = "started"; } async pause() { await this.client.pause(); - this.state === "connected"; + this.state = "connected"; } async resume() { await this.client.resume(); + this.state = "started"; } async stop() {