hackclub / sprig

🍃 Learn to code by making games in a JavaScript web-based game editor.
https://sprig.hackclub.com
MIT License
924 stars 1.14k forks source link

Saving is inconsistent using the collaborative beta feature #2279

Closed Cosmin-Mare closed 2 months ago

Cosmin-Mare commented 3 months ago

Describe the bug Saving while on the beta editor sometimes doesn't function properly, for some people it's straight up not saving at all(#2258) and for me it's saving the game but with 10's of copies of it afterwards alternating between versions of the changes.

To Reproduce I did not find a consistent way to reproduce this, but it happens only if you make a game and go to sprig.hackclub.com/~/beta/[id] and make changes

Cosmin-Mare commented 3 months ago

it seems like the multiplying of games happens randomly

Cosmin-Mare commented 2 months ago

Solved the multiplying of code. Will make a separate issue for the other saving bug