Skip to content

Commit

Permalink
Resolves issue #711 - Fix restore in debug controls
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileyJames committed May 23, 2020
1 parent d728425 commit 461c6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/debug/main/Controls.svelte
Expand Up @@ -15,7 +15,7 @@
const gamestateJSON = window.localStorage.getItem('gamestate');
if (gamestateJSON !== null) {
const gamestate = parse(gamestateJSON);
client.store.dispatch(sync(gamestate));
client.store.dispatch(sync({ state: gamestate }));
}
}
</script>
Expand Down

0 comments on commit 461c6d4

Please sign in to comment.