We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d728425 commit 4d45ff1Copy full SHA for 4d45ff1
1 file changed
src/client/debug/main/Controls.svelte
@@ -15,7 +15,7 @@
15
const gamestateJSON = window.localStorage.getItem('gamestate');
16
if (gamestateJSON !== null) {
17
const gamestate = parse(gamestateJSON);
18
- client.store.dispatch(sync(gamestate));
+ client.store.dispatch(sync({ state: gamestate }));
19
}
20
21
</script>
0 commit comments