early return fix
This commit is contained in:
parent
0c5a4f8977
commit
6948fce6e0
@ -66,7 +66,7 @@ function registerEvents(store) {
|
||||
// stop fetching the game state til animations are done
|
||||
const newRes = game.resolved.slice(currentGame.resolved.length);
|
||||
return eachSeries(newRes, (r, cb) => {
|
||||
if (!r.event || r.stages === '') return cb;
|
||||
if (!r.event || r.stages === '') return cb();
|
||||
const timeout = animations.getTime(r.stages);
|
||||
const anims = animations.getObjects(r, game, account);
|
||||
const text = animations.getText(r);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user