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