Skip to content

Commit

Permalink
fix: session match broken
Browse files Browse the repository at this point in the history
Fixes #20
  • Loading branch information
popstas committed Jul 1, 2018
1 parent 15e8999 commit d735383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alice.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
})

/*
Expand Down

0 comments on commit d735383

Please sign in to comment.