len
This commit is contained in:
parent
22ac2b502e
commit
e8b725c7bb
@ -86,7 +86,7 @@ function registerEvents(store) {
|
||||
store.dispatch(actions.setAnimating(true));
|
||||
store.dispatch(actions.setGameSkillInfo(null));
|
||||
// stop fetching the game state til animations are done
|
||||
const newRes = game.events[currentGame.events.length];
|
||||
const newRes = game.events[game.events.length - 1];
|
||||
return eachSeries(newRes, (r, cb) => {
|
||||
const timeout = r.delay;
|
||||
setAnimations(r, store, account);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user