Skip to content

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

@CareyJWilliams

Description

@CareyJWilliams

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions