Skip to content

Commit

Permalink
fix reconnect/join
Browse files Browse the repository at this point in the history
  • Loading branch information
farin committed Jan 30, 2021
1 parent 7e9123c commit eb199c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# JCloisterZone Client

Main platform repository https://github.com/farin/JCloisterZone
(report issue there)

#### Build Setup

``` bash
Expand Down Expand Up @@ -38,4 +41,4 @@ https://github.com/electron-userland/electron-builder/issues/1340

https://www.bittbox.com/culture/convert-paths-to-shapes-in-photoshop

With path selected choose "Layers / New fill layer"
With path selected choose "Layers / New fill layer"
2 changes: 1 addition & 1 deletion src/renderer/store/networking.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ConnectionHandler {
} else if (type === 'GAME') {
await dispatch('game/handleGameMessage', payload, { root: true })
if (payload.started) {
await dispatch('game/handleStartMessage', { clock: message.clock, id: null }, { root: true })
await dispatch('game/handleStartMessage', { clock: message.clock, id: null, payload: {} }, { root: true })
if (this.$router.currentRoute.path !== '/game') {
commit('board/resetZoom', null, { root: true })
this.$router.push('/game')
Expand Down

0 comments on commit eb199c6

Please sign in to comment.