shithub: puzzles

Download patch

ref: 72495304292e9ef71c996c571269557c2a299fdf
parent: 3cb919f4f7eb8a0785ace3c750a4a33987a6eb49
author: Ben Harris <bjh21@bjh21.me.uk>
date: Thu Dec 29 19:00:17 EST 2022

Clear any existing Tracks flash data when generating it

Simon points out that if you have an ambiguous puzzle then it might
need different flash data for different solutions, so if you solve it
one way, than manually unsolve it and solve it another way, the old
flash data in the game state need to be cleared out when the new flash
data are written.

Tested by solving the hugely ambiguous "5x5:CwC,5,5,5,5,S5,S5,5,5,5,5".