There was a problem that we only saw in remote deployment, in which the state object we were using in resetting the game progress could be mutated, resulting in chat persisting even after a reset. The first reset worked ok, but all subsequent ones would be corrupted, due to the way module loading works.
I have corrected the "fresh state template" object to be a function that always returns a new copy.
Description
There was a problem that we only saw in remote deployment, in which the state object we were using in resetting the game progress could be mutated, resulting in chat persisting even after a reset. The first reset worked ok, but all subsequent ones would be corrupted, due to the way module loading works.
I have corrected the "fresh state template" object to be a function that always returns a new copy.
Resolves #787
Checklist
Have you done the following?