diff --git a/satiate.js b/satiate.js index 6372259..7b06585 100644 --- a/satiate.js +++ b/satiate.js @@ -69,7 +69,7 @@ function init(story) { initAudio(story, state); initGame(story, state); - goToRoom("Home", state); + goToRoom(story.intro.start, state); } // set up the load screen diff --git a/stories/demo.js b/stories/demo.js index 1f45702..e9ff2df 100644 --- a/stories/demo.js +++ b/stories/demo.js @@ -1,6 +1,9 @@ stories.push({ "id": "demo", "name": "Tech Demo", + "intro": { + "start": "Home" + }, "sounds": [ "sfx/oof.ogg" ],