fix moves not animating when received from peers
This commit is contained in:
parent
8e66eb3537
commit
72650faded
|
|
@ -311,7 +311,7 @@ $(function (){
|
||||||
|
|
||||||
function setCurrentGame(game, animate) {
|
function setCurrentGame(game, animate) {
|
||||||
currentGame = game;
|
currentGame = game;
|
||||||
setVisibleGame(game);
|
setVisibleGame(game, animate);
|
||||||
|
|
||||||
const moves = game.moves;
|
const moves = game.moves;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue