encrusted icon indicating copy to clipboard operation
encrusted copied to clipboard

Error message on game end

Open savetz opened this issue 6 years ago • 1 comments

After losing at Infidel, it asked Do You Want to Play Again? and not paying close attention I typed "restore" which crashed the z-machine. Then I couldn't use Encrusted anymore. Even if I open it in a new window, I get a z-machine error message and am stuck. Had to Delete Saves to get back to normal. screenshot 2018-10-05 at 10 22 48 am

savetz avatar Oct 06 '18 02:10 savetz

I realized this happens after the quit instruction, which hasn't been accounted for. The zmachine just stops, but the frontend doesn't know anything happened. I'm surprised I missed that! Seems kind of obvious in retrospect. I'll need to add some logic to handle end game cases.

DeMille avatar Oct 15 '18 20:10 DeMille