From d73538320d2cbdd1b6ef1d7cba5f34cecebb1bd7 Mon Sep 17 00:00:00 2001 From: Stanislav Popov Date: Sun, 1 Jul 2018 09:05:42 +0500 Subject: [PATCH] fix: session match broken Fixes #20 --- src/alice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alice.js b/src/alice.js index ca98cf0..cd9b7c5 100644 --- a/src/alice.js +++ b/src/alice.js @@ -83,7 +83,7 @@ class Alice { /* give control to the current scene */ if (session.getData('currentScene') !== null) { const matchedScene = this.scenes.find(scene => { - return scene.name === session.currentScene + return scene.name === session.getData('currentScene'); }) /*