Browse Source

Bugfix

master
Levi Olson 5 years ago
parent
commit
7624f2cb71
2 changed files with 4 additions and 2 deletions
  1. +1
    -1
      dist/bundle.js
  2. +3
    -1
      src/index.js

+ 1
- 1
dist/bundle.js
File diff suppressed because it is too large
View File


+ 3
- 1
src/index.js View File

@ -81,7 +81,9 @@ if (window.WebSocket) {
series.setTurn(player.getId())
status.innerText = "Your Turn"
series.setGameMatrix(data.Matrix)
series.setGameMatrixHistory(data.MatrixHistory)
if (data.MatrixHistory) {
series.setGameMatrixHistory(data.MatrixHistory)
}
_renderGame()
break;
case EventEnum.CHAT:

Loading…
Cancel
Save