client fix

This commit is contained in:
Mashy 2019-12-11 18:14:16 +10:00
parent 676c63479c
commit 168639bbbe

View File

@ -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.resolutions[game.resolutions.length - 2];
const newRes = game.resolutions[game.resolutions.length - 1];
console.log(newRes);
return eachSeries(newRes, (r, cb) => {
if (r.delay === 0) return cb(); // TargetKo etc