pow
This commit is contained in:
parent
52b42b772a
commit
c94fc46f34
@ -71,14 +71,14 @@ function registerEvents(store) {
|
|||||||
}, 3000);
|
}, 3000);
|
||||||
}, err => {
|
}, err => {
|
||||||
if (err) return console.error(err);
|
if (err) return console.error(err);
|
||||||
|
// clear animation state
|
||||||
store.dispatch(actions.setAnimSource(null));
|
store.dispatch(actions.setAnimSource(null));
|
||||||
store.dispatch(actions.setAnimTarget(null));
|
store.dispatch(actions.setAnimTarget(null));
|
||||||
store.dispatch(actions.setAnimating(false));
|
store.dispatch(actions.setAnimating(false));
|
||||||
|
|
||||||
// stop skipping resolutions
|
// set the game state so resolutions don't fire twice
|
||||||
store.dispatch(actions.setSkip(false));
|
store.dispatch(actions.setGame(game));
|
||||||
|
ws.sendGameState(game.id);
|
||||||
ws.sendGameState(currentGame.id);
|
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user