Skip to content

Commit 4d45ff1

Browse files
authored
fix(client): Fix restore in debug controls (#712)
1 parent d728425 commit 4d45ff1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client/debug/main/Controls.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
const gamestateJSON = window.localStorage.getItem('gamestate');
1616
if (gamestateJSON !== null) {
1717
const gamestate = parse(gamestateJSON);
18-
client.store.dispatch(sync(gamestate));
18+
client.store.dispatch(sync({ state: gamestate }));
1919
}
2020
}
2121
</script>

0 commit comments

Comments
 (0)