Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map.persistence can fail to restore a game if startup.txt has no non-initial commands or story text #113

Open
CareyJWilliams opened this issue Jun 29, 2016 · 0 comments

Comments

@CareyJWilliams
Copy link
Contributor

CareyJWilliams commented Jun 29, 2016

index.html?persistence=storeName

This runs the game's startup.txt's initial commands to populate the scene_list and create variables before restoring the game. The method determines that all initial commands must have been executed when it encounters a non-initial command. However, if there are no non-initial commands (or ordinary text lines should work as well?) in startup.txt, then the game is never restored. Blank lines are never fed through runCommand, so they don't work either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant