Closed Purzelkater closed 4 years ago
That is expected behavior. If your start passage doesn't run, neither does that code. It should be in story JavaScript. If you absolutely insist on having it in a passage, use StoryInit
.
That's it! Thank you. I hadn't thought of that the Setting setup would be temporary on the Start passage.
The following code I have added to my start passage:
Starting a new game the setting dialog works like expected. But after reloading the game (reload the window on browser or close and open the html file) or after resetting the values (with the default reset button on setting dialog) the setting button disappears from the menu.