events state
This commit is contained in:
parent
d1001637fa
commit
fbf2a42581
@ -84,7 +84,9 @@ function registerEvents(store) {
|
||||
// stop skipping resolutions
|
||||
store.dispatch(actions.setSkip(false));
|
||||
// update the game
|
||||
store.dispatch(actions.setGame(currentGame));
|
||||
store.dispatch(actions.setGame(game));
|
||||
// get the latest state and restart polling
|
||||
ws.sendGameState(currentGame.id);
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user