This post originally appeared on my Patreon.
This is a quick fix to resolve a bug that can cause data loss-- data loss so bad that I've yanked the 0.0.1 release. One feature I added to Chapbook is, if a story runs into an error, it offers to the player two choices:
- Go back to the previous passage, hopefully so that a different route will allow the player to continue
- Do a "hard restart," which clears all saved progress and restarts the story
The problem with the hard restart in 0.0.1 is that it cleared the entire local storage for the entire site that the page was running on, which could do all kinds of nasty things, including stories saved to the web version of Twine. Eek!
The new URL to use is: https://klembot.github.io/chapbook/use/0.0.2/format.js